Closed AngelOnFira closed 10 months ago
Hello! Apologies for the delay in responding to your issue. I've tracked down a few documentation sources that may be helpful.
$GITHUB_WORKSPACE
(/home/runner/work/sauce/sauce
in this case), maps to the /github/workspace
directory on the running container. I have submitted a PR to the GitHub documentation to mention this! Unfortunately the repository is internal to GitHub, but I will let you know when there is a status change.Hello again! This has been added to the documentation here: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action#accessing-files-created-by-a-container-action
I'll close this out for now, but if you have other questions please feel free to comment and reopen!
It is not documented how the run command is used when a Github Action is executed.
In my particular use case, I wanted to figure out how to get files off a container Action. The answer is to send any output files to
/github/workspace
. It would be helpful to see that somewhere in the documentation.Having some more information about the rest of the commands would be useful as well I think.