diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-08-01 14:18:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 14:18:34 +0200 |
commit | 03377ca1d2d4d897562ac150e2b51afc04402bec (patch) | |
tree | 554421a71df15fe5d2ad43737ad0dbaeb41f9e2c | |
parent | d81c5b51b32247c96af78d90e89429e33b2a58ac (diff) |
chore: cycle cache key (#15371)
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d66e53d92..d74e21b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -235,7 +235,7 @@ jobs: ~/.cargo/registry/index ~/.cargo/registry/cache ~/.cargo/git/db - key: 16-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} + key: 17-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} # In main branch, always creates fresh cache - name: Cache build output (main) @@ -251,7 +251,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: | - 16-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }} + 17-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ github.sha }} # Restore cache from the latest 'main' branch build. - name: Cache build output (PR) @@ -267,7 +267,7 @@ jobs: !./target/*/*.tar.gz key: never_saved restore-keys: | - 16-cargo-target-${{ matrix.os }}-${{ matrix.profile }}- + 17-cargo-target-${{ matrix.os }}-${{ matrix.profile }}- # Don't save cache after building PRs or branches other than 'main'. - name: Skip save cache (PR) |