mirror of
https://github.com/Cockatrice/Magic-Token.git
synced 2026-03-21 17:46:06 -05:00
split cache action up (#205)
This commit is contained in:
parent
bf8a88ccb0
commit
7fe56fbdf8
14
.github/workflows/check_links.yml
vendored
14
.github/workflows/check_links.yml
vendored
|
|
@ -22,8 +22,10 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up lychee cache
|
||||
uses: actions/cache@v3
|
||||
# Restore cache
|
||||
- name: Restore lychee cache
|
||||
id: restore-cache
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: .lycheecache
|
||||
key: cache-lychee-${{ github.sha }}
|
||||
|
|
@ -36,3 +38,11 @@ jobs:
|
|||
args: '${{env.lychee_args}} -- tokens.xml challenge_tokens.xml'
|
||||
fail: true
|
||||
jobSummary: true
|
||||
|
||||
# Always save cache
|
||||
- name: Save lychee cache
|
||||
uses: actions/cache/save@v3
|
||||
if: always()
|
||||
with:
|
||||
path: .lycheecache
|
||||
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user