Skip to content

Commit

Permalink
WIP: use explicit cache restore and save instead of automatic post ac…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Paliak committed Jun 28, 2024
1 parent a13ca61 commit a195d15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/updatebuildlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
- name: Checkout HEAD
uses: actions/checkout@v4
- name: Download old build list
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: spec/builds.txt
key: 'builds.txt'
- name: Update list
run: cat spec/builds.txt <({ curl "https://pobarchives.com/api/builds?q=latest" & curl "https://pobarchives.com/api/builds?q=trending"; } | jq -r '.builds[].build_info.build_link') | sort -u | tail -n 500 | sponge spec/builds.txt
- name: Print builds list
run: cat spec/builds.txt
- name: Save new build list
uses: actions/cache/save@v4

0 comments on commit a195d15

Please sign in to comment.