Skip to content

Commit 6fa0f33

Browse files
authored
ci: include runner arch in cargo cache key to avoid cross-arch conflicts for go (#282)
1 parent f92d9e5 commit 6fa0f33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-go-binding.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
~/.cargo/registry/cache/
130130
~/.cargo/git/db/
131131
target/
132-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
132+
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
133133

134134
- name: Install zstd on Linux
135135
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)