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:
parent
ddfbf531de
commit
95da41ee0a
2 changed files with 7 additions and 4 deletions
6
.github/workflows/bundled_gems.yml
vendored
6
.github/workflows/bundled_gems.yml
vendored
|
@ -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: |
|
||||
|
|
5
.github/workflows/check_misc.yml
vendored
5
.github/workflows/check_misc.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Reference in a new issue