Open
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
When using a custom image, I've observed that GH Actions appears to be setting the container's work directory to its own custom directory. In my case it's __w/server/server
. Therefore, any bash command I would've ran as-is successfully fails until I set the working-directory
option to the correct value.
I don't know exactly how that value is being set, though it certainly appears to align with the volume paths captured here.
Additional information
I can confirm that setting the working-directory
fixed my problem, but I don't know what's causing the issue and therefore what conditions it presents itself in.