Use different cache keys per pipeline

This commit is contained in:
Valentin Brandl
2020-11-23 14:19:11 +01:00
parent e9e57495a6
commit 4c9454aa9e
3 changed files with 11 additions and 14 deletions

View File

@@ -44,7 +44,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
./target
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
key: release-${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo build
uses: actions-rs/cargo@v1