File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -39,25 +39,15 @@ jobs:
39
39
id : cache-linkcheck-restore
40
40
uses : actions/cache/restore@v4
41
41
with :
42
- path : |
43
- ~/book/linkcheck
44
- key : ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
42
+ path : ~/book/linkcheck
43
+ key : linkcheck
45
44
46
45
- name : Install latest nightly Rust toolchain
47
46
if : steps.mdbook-cache.outputs.cache-hit != 'true'
48
47
run : |
49
48
rustup update nightly
50
49
rustup override set nightly
51
50
52
- - name : Save cached Linkcheck
53
- id : cache-linkcheck-save
54
- if : always() && steps.cache-linkcheck-restore.outputs.cache-hit != 'true'
55
- uses : actions/cache/save@v4
56
- with :
57
- path : |
58
- ~/book/linkcheck
59
- key : ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
60
-
61
51
- name : Install Dependencies
62
52
if : steps.mdbook-cache.outputs.cache-hit != 'true'
63
53
run : |
69
59
- name : Check build
70
60
run : mdbook build
71
61
62
+ - name : Save cached Linkcheck
63
+ id : cache-linkcheck-save
64
+ if : always() && steps.cache-linkcheck-restore.outputs.cache-hit != 'true'
65
+ uses : actions/cache/save@v4
66
+ with :
67
+ path : ~/book/linkcheck
68
+ key : linkcheck
69
+
72
70
- name : Deploy to gh-pages
73
71
if : github.event_name == 'push'
74
72
run : |
You can’t perform that action at this time.
0 commit comments