File tree 2 files changed +20
-4
lines changed
2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 13
13
- uses : actions/checkout@v4
14
14
15
15
- name : Restore lychee cache
16
- uses : actions/cache@v4
16
+ uses : actions/cache/restore@v4
17
+ id : cache-restore
17
18
with :
18
19
path : .lycheecache
19
20
key : cache-lychee-${{ github.sha }}
25
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
27
with :
27
28
fail : true
28
- args : --max-concurrency 5 --cache --max-cache-age 1d .
29
+ args : --max-concurrency 5 --cache --max-cache-age 1d --cache-exclude-status 300..=599 .
30
+
31
+ - name : Save lychee cache
32
+ if : always()
33
+ uses : actions/cache/save@v4
34
+ with :
35
+ path : .lycheecache
36
+ key : ${{ steps.cache-restore.outputs.cache-primary-key }}
Original file line number Diff line number Diff line change 18
18
19
19
20
20
- name : Restore lychee cache
21
- uses : actions/cache@v4
21
+ uses : actions/cache/restore@v4
22
+ id : cache-restore
22
23
with :
23
24
path : .lycheecache
24
25
key : cache-lychee-${{ github.sha }}
30
31
env :
31
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
33
with :
33
- args : --max-concurrency 1 --cache --max-cache-age 1d .
34
+ args : --max-concurrency 1 --cache --max-cache-age 1d --cache-exclude-status 300..=599 .
35
+
36
+ - name : Save lychee cache
37
+ if : always()
38
+ uses : actions/cache/save@v4
39
+ with :
40
+ path : .lycheecache
41
+ key : ${{ steps.cache-restore.outputs.cache-primary-key }}
34
42
35
43
- name : Create Issue From File
36
44
if : steps.lychee.outputs.exit_code != 0
You can’t perform that action at this time.
0 commit comments