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.
This commit is contained in:
Alan Wu 2023-07-24 19:23:08 -04:00 коммит произвёл GitHub
Родитель cef60e93e6
Коммит b106cf2eef
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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.