diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2021-04-09 14:43:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 14:43:33 +0900 |
commit | 94c666fc454c3a6044c6db898839105e09b319a4 (patch) | |
tree | b5f9a63def4d82557a66db80bec971f474a1fb27 | |
parent | 0d9aa81c69b1a9ce2559b3de09f007f6b9932bdf (diff) |
ci: do not include branch name in cache key (#10081)
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b473ee1..a32193703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,9 +178,7 @@ jobs: ~/.cargo/git ~/.cargo/registry ./target - key: cache3-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} - restore-keys: | - cache3-refs/heads/main-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} + key: cache4-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }} - name: test_format.js if: matrix.kind == 'lint' |