Skip to content

Commit bcef3e4

Browse files
committed
chore(ci) The cache key for target includes the Python version.
1 parent a370b4d commit bcef3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uses: actions/cache@v1
5959
with:
6060
path: target
61-
key: ${{ matrix.target.rust-target }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
61+
key: ${{ matrix.target.rust-target }}-${{ matrix.python }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
6262

6363
- name: Set up Python ${{ matrix.python }}
6464
if: matrix.target.id != 'linux-aarch64'

0 commit comments

Comments
 (0)