Skip to content

Commit bd375c0

Browse files
committed
ci: fix cache using problem in win-arm64
1 parent dd20de4 commit bd375c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: swatinem/rust-cache@v2
6868
with:
6969
workspaces: "./src-tauri -> target"
70-
key: ${{ matrix.rust_target }}
70+
shared-key: ${{ matrix.rust_target }}
7171

7272
- name: Install dependencies
7373
run: pnpm install

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
uses: swatinem/rust-cache@v2
9696
with:
9797
workspaces: "./src-tauri -> target"
98-
key: ${{ matrix.rust_target }}
98+
shared-key: ${{ matrix.rust_target }}
9999

100100
# 配置 Windows lld 链接器
101101
- name: Configure Rust linker (Windows lld)

0 commit comments

Comments
 (0)