File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -39,25 +39,15 @@ jobs:
3939 id : cache-linkcheck-restore
4040 uses : actions/cache/restore@v4
4141 with :
42- path : |
43- ~/book/linkcheck
44- key : ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
42+ path : ~/book/linkcheck
43+ key : linkcheck
4544
4645 - name : Install latest nightly Rust toolchain
4746 if : steps.mdbook-cache.outputs.cache-hit != 'true'
4847 run : |
4948 rustup update nightly
5049 rustup override set nightly
5150
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-
6151 - name : Install Dependencies
6252 if : steps.mdbook-cache.outputs.cache-hit != 'true'
6353 run : |
6959 - name : Check build
7060 run : mdbook build
7161
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+
7270 - name : Deploy to gh-pages
7371 if : github.event_name == 'push'
7472 run : |
You can’t perform that action at this time.
0 commit comments