|
41 | 41 | uses: actions/cache/restore@v4
|
42 | 42 | with:
|
43 | 43 | path: book/linkcheck/cache.json
|
44 | | - key: linkcheck |
| 44 | + key: mdbook-linkcheck2 |
45 | 45 |
|
46 | 46 | - name: Install latest nightly Rust toolchain
|
47 | 47 | if: steps.mdbook-cache.outputs.cache-hit != 'true'
|
|
58 | 58 | cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}
|
59 | 59 |
|
60 | 60 | - name: Check build
|
61 | | - run: mdbook build |
| 61 | + run: ENABLE_LINKCHECK=1 mdbook build |
62 | 62 | continue-on-error: true
|
63 | 63 |
|
64 | 64 | - name: Save cached Linkcheck
|
|
67 | 67 | uses: actions/cache/save@v4
|
68 | 68 | with:
|
69 | 69 | path: book/linkcheck/cache.json
|
70 | | - key: linkcheck |
| 70 | + key: mdbook-linkcheck2 |
71 | 71 |
|
72 | 72 | - name: Deploy to gh-pages
|
73 | 73 | if: github.event_name == 'push'
|
|
0 commit comments