fix: use sha256sum instead of shasum for Windows compatibility

This commit is contained in:
t8y2 2026-05-04 19:07:25 +08:00
parent 0f73e2d9ca
commit 7118feea4b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ jobs:
id: deps-hash
shell: bash
run: |
hash=$(grep -v '^version = ' src-tauri/Cargo.lock | shasum -a 256 | cut -d' ' -f1)
hash=$(grep -v '^version = ' src-tauri/Cargo.lock | sha256sum | cut -d' ' -f1)
echo "hash=${hash:0:20}" >> "$GITHUB_OUTPUT"
- name: Rust cache