Skip to content

Commit 82cde0e

Browse files
committed
Get version from Cargo.toml
1 parent 91c5bc1 commit 82cde0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Generate custom cache key
3030
id: cargo-hash
3131
run: |
32-
grep -v '^version = ' src-tauri/Cargo.lock | shasum -a 256 | awk '{ print $1 }' > cargo_hash.txt
32+
grep -v '^version = ' src-tauri/Cargo.toml | shasum -a 256 | awk '{ print $1 }' > cargo_hash.txt
3333
echo "CARGO_CACHE_KEY=$(cat cargo_hash.txt)" >> $GITHUB_ENV
3434
echo "::set-output name=CARGO_CACHE_KEY::$(cat cargo_hash.txt)"
3535

0 commit comments

Comments
 (0)