构建流水线里不同平台使用独立的缓存键

This commit is contained in:
xintaofei
2026-03-22 13:43:53 +08:00
parent 499c43e8d7
commit 55ce313468

View File

@@ -217,6 +217,7 @@ jobs:
uses: swatinem/rust-cache@v2 uses: swatinem/rust-cache@v2
with: with:
workspaces: "./src-tauri -> target" workspaces: "./src-tauri -> target"
shared-key: ${{ matrix.target }}
- name: Install Linux x64 dependencies - name: Install Linux x64 dependencies
if: matrix.target == 'x86_64-unknown-linux-gnu' if: matrix.target == 'x86_64-unknown-linux-gnu'