summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-06 10:52:08 +0100
committerGitHub <noreply@github.com>2022-01-06 10:52:08 +0100
commitfbe759ac94d861409f1eb9046e6402a22039289e (patch)
treeec8715dc21bf23562115e34312bea7915e52bc1c /.github
parentc40419b55beda0f69c5d59c7eded369c6af66f0e (diff)
ci: cycle cache key (#13292)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6e4dd3d0d..0b1f540d5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -262,7 +262,7 @@ jobs:
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
- key: 2-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
+ key: 3-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
# In main branch, always creates fresh cache
- name: Cache build output (main)
@@ -278,7 +278,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.tar.gz
key: |
- 2-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
+ 3-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }}
# Restore cache from the latest 'main' branch build.
- name: Cache build output (PR)
@@ -294,7 +294,7 @@ jobs:
!./target/*/*.tar.gz
key: never_saved
restore-keys: |
- 2-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
+ 3-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-
# Don't save cache after building PRs or branches other than 'main'.
- name: Skip save cache (PR)