Skip to content

Commit 82f6e9f

Browse files
committed
ci: Add target triple to cache key
1 parent 8e465c0 commit 82f6e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
path: |
2828
~/.cargo
2929
target
30-
key: ${{ runner.os }}-build-${{ hashFiles('Cargo.lock', 'rust-toolchain') }}
30+
key: ${{ runner.os }}-build-${{ matrix.target }}-${{ hashFiles('Cargo.lock', 'rust-toolchain') }}
3131
restore-keys: |
32-
${{ runner.os }}-build-${{ hashFiles('Cargo.lock', 'rust-toolchain') }}
32+
${{ runner.os }}-build-${{ matrix.target }}-${{ hashFiles('Cargo.lock', 'rust-toolchain') }}
3333
${{ runner.os }}-build-
3434
3535
- name: Install Rust toolchain

0 commit comments

Comments
 (0)