Skip to content

Commit

Permalink
README: update actions/cache to v4 (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Sep 19, 2024
1 parent 64c64df commit 5047c2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ In order to mitigate issues regarding rate limiting or to reduce stress on exter

```yml
- name: Restore lychee cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
Expand All @@ -114,7 +114,7 @@ If you need more control over when caches are restored and saved, you can split
```yml
- name: Restore lychee cache
id: restore-cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
Expand All @@ -126,7 +126,7 @@ If you need more control over when caches are restored and saved, you can split
args: "--base . --cache --max-cache-age 1d ."
- name: Save lychee cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: .lycheecache
Expand Down

0 comments on commit 5047c2a

Please sign in to comment.