about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/ci.yml b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
index 3c45ad16488..006bcce44b3 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml
@@ -59,11 +59,10 @@ jobs:
 
       - name: Check build
         run: ENABLE_LINKCHECK=1 mdbook build
-        continue-on-error: true
 
       - name: Save cached Linkcheck
         id: cache-linkcheck-save
-        if: github.event_name == 'schedule'
+        if: ${{ !cancelled() && github.event_name == 'schedule' }}
         uses: actions/cache/save@v4
         with:
           path: book/linkcheck/cache.json