fix: update caching keys in workflow files to use glob pattern for Cargo.lock

This commit is contained in:
Tunglies
2025-11-17 13:02:44 +08:00
parent d1a099b480
commit 35ae5cdba1
4 changed files with 6 additions and 10 deletions
+1 -2
View File
@@ -61,8 +61,7 @@ jobs:
workspaces: src-tauri
cache-all-crates: true
save-if: false
shared-key: autobuild-${{ runner.os }}-${{ matrix.target }}
key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('src-tauri/Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**Cargo.lock') }}
- name: Install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-22.04'