Github workspace no such file or directory
See original GitHub issueDescribe the bug I was running my build just fine as usual and all of a sudden in the subsequent build as my action was doing it’s job all of a sudden it’s now throwing an error.
** (ErlangError) Erlang error: :enoent Shows that the the command being run is
sudo chown -R builder:abuild /github/workspace (which I got from GITHUB_WORKSPACE env variable)
To Reproduce Steps to reproduce the behavior:
- Run action one day and pass
- Next day action is failing
- See error
Expected behavior Execute task successfully
Runner Version and Platform
Version of your runner?
Hosted Runner Current runner version: ‘2.276.1’
OS of the machine running the runner? OSX/Windows/Linux/…
ubuntu-latest
What’s not working?
I have already tried upgrading checkout action to v2 and doesn’t seem to help
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Github Actions - No Such File or Directory on Any Run Step
I had an issue where a step was failing with the following, no matter how I configured it: Error: No such file or...
Read more >github actions: debugging 'no such file or directory'
The answer, it turns out, is to ensure that the repository itself is checked out. The easiest way I found to do this...
Read more >GitHub action fails with No such file or directory
I am trying a very basic GitHub CI actions with my PlatformIO project. I am using almost the official Workflow provided by the...
Read more >Cannot Deploy Site Via GitHub - Help
Hi there, So I've installed jekyll on my computer, enabled github ... 18 No such file or directory @ dir_chdir - /github/workspace/docs.
Read more >elgohr/Publish-Docker-Github-Action@2.6: unable to ...
Hello - im trying to use the CI/CD via a GH workflow but getting the below error: Run elgohr/Publish-Docker-Github-Action@2.6 with: name: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For the googlers coming here (because of a similar issue)
wrong:
right:
@TingluoHuang Thank you for your help!