diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2023-07-24 19:23:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 19:23:08 -0400 |
commit | b106cf2eef574535fa2a069493235b00d679d20a (patch) | |
tree | c9445815a8d17e62cb5b2b149bbfcf9ab1f76b36 /.github | |
parent | cef60e93e6db859b47c818f745be809feb04ae48 (diff) | |
download | ruby-b106cf2eef574535fa2a069493235b00d679d20a.tar.gz |
GitHub Actions: fix ENOENT for jobs running in forks
https://github.com/peterzhu2118/ruby/actions/runs/5649652235/job/15304434412
> Errno::ENOENT: No such file or directory @ rb_sysopen -
> ./.downloaded-cache/config.guess:
> https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
Unsure about the root cause but making sure the directory is there seems like a
plausible fix. Maybe the issue is sensitive to cache state.
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/setup/directories/action.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/actions/setup/directories/action.yml b/.github/actions/setup/directories/action.yml index c4d64ee7ea..87eb919fa5 100644 --- a/.github/actions/setup/directories/action.yml +++ b/.github/actions/setup/directories/action.yml @@ -42,6 +42,7 @@ runs: run: | mkdir -p ${{ inputs.srcdir }} mkdir -p ${{ inputs.builddir }} + mkdir -p ${{ inputs.srcdir }}/.downloaded-cache # Did you know that actions/checkout works without git(1)? We are # checking that here. |