1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Get stdgems JSON files only if modified [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2021-12-23 14:29:56 +09:00
parent ddfbf531de
commit 95da41ee0a
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 7 additions and 4 deletions

View file

@ -37,8 +37,10 @@ jobs:
- name: Download previous gems list
run: |
curl -o .downloaded-cache/bundled_gems.json https://stdgems.org/bundled_gems.json
ln -s .downloaded-cache/bundled_gems.json .
data=bundled_gems.json
mkdir -p .downloaded-cache
ln -s .downloaded-cache/$data .
curl -O -R -z ./$data https://stdgems.org/$data
- name: Update bundled gems list
run: |

View file

@ -30,9 +30,10 @@ jobs:
- name: Download previous gems list
run: |
data=default_gems.json
mkdir -p .downloaded-cache
curl -o .downloaded-cache/default_gems.json https://stdgems.org/default_gems.json
ln -s .downloaded-cache/default_gems.json .
ln -s .downloaded-cache/$data .
curl -O -R -z ./$data https://stdgems.org/$data
- name: Make default gems list
run: |