构建流水线里不同平台使用独立的缓存键
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user