Skip to content

Commit 10c76e1

Browse files
committed
Update key
1 parent 57d1e6b commit 10c76e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/cache/restore@v4
4242
with:
4343
path: book/linkcheck/cache.json
44-
key: linkcheck
44+
key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}
4545

4646
- name: Install latest nightly Rust toolchain
4747
if: steps.mdbook-cache.outputs.cache-hit != 'true'
@@ -58,7 +58,7 @@ jobs:
5858
cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}
5959
6060
- name: Check build
61-
run: mdbook build
61+
run: ENABLE_LINKCHECK=1 mdbook build
6262
continue-on-error: true
6363

6464
- name: Save cached Linkcheck
@@ -67,7 +67,7 @@ jobs:
6767
uses: actions/cache/save@v4
6868
with:
6969
path: book/linkcheck/cache.json
70-
key: linkcheck
70+
key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}
7171

7272
- name: Deploy to gh-pages
7373
if: github.event_name == 'push'

0 commit comments

Comments
 (0)