diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2025-01-26 14:21:09 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-26 14:21:09 -0800 |
| commit | 885641bab13f89e5b42f5ee88dc8e97f85e17243 (patch) | |
| tree | f1e0fb6bfce9116ce7f3619dee23b0587bbb8946 /src | |
| parent | f6bd61aa710d0ed3888ffdd32a141f4c03a3e395 (diff) | |
| parent | 1392e074b7941af2f0b4bb400e1d0c75943cfe47 (diff) | |
| download | rust-885641bab13f89e5b42f5ee88dc8e97f85e17243.tar.gz rust-885641bab13f89e5b42f5ee88dc8e97f85e17243.zip | |
Merge pull request #2223 from marxin/CI-cache-restore-key
CI: use key-restore for cache GH action
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc-dev-guide/.github/workflows/ci.yml | 6 |
1 files changed, 4 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 006bcce44b3..3f810e2fbcc 100644 --- a/src/doc/rustc-dev-guide/.github/workflows/ci.yml +++ b/src/doc/rustc-dev-guide/.github/workflows/ci.yml @@ -41,7 +41,9 @@ jobs: uses: actions/cache/restore@v4 with: path: book/linkcheck/cache.json - key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }} + key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ github.run_id }} + restore-keys: | + linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}-- - name: Install latest nightly Rust toolchain if: steps.mdbook-cache.outputs.cache-hit != 'true' @@ -66,7 +68,7 @@ jobs: uses: actions/cache/save@v4 with: path: book/linkcheck/cache.json - key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }} + key: linkcheck--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ github.run_id }} - name: Deploy to gh-pages if: github.event_name == 'push' |
