differentiate debug/release in cache key (#5613)

This commit is contained in:
Jack Amadeo
2025-11-06 16:26:26 -08:00
committed by GitHub
parent 20ba2fdb7e
commit 61125ef7fa
7 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -97,10 +97,10 @@ jobs:
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('rust-toolchain.toml') }}
key: ${{ runner.os }}-cargo-build-release-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('rust-toolchain.toml') }}
restore-keys: |
${{ runner.os }}-cargo-build-${{ hashFiles('Cargo.lock') }}-
${{ runner.os }}-cargo-build-
${{ runner.os }}-cargo-build-release-${{ hashFiles('Cargo.lock') }}-
${{ runner.os }}-cargo-build-release-
- name: Build CLI (Linux/macOS)
if: matrix.use-cross