Skip to content

Commit 3bbd12e

Browse files
authored
chore: use github action secret for sha verification (#174)
1 parent 6c2f004 commit 3bbd12e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
env:
2828
fileName: ./keystore.jks
2929
encodedString: ${{ secrets.KEYSTORE }}
30+
sha: ${{ secrets.KEYSTORE_SHA }}
3031
run: |
3132
echo "$encodedString" | base64 -d > $fileName
32-
echo "6cab9fa86689a9969097a662891fe8a1d8752ac430c18750cfa4d230744ac4a7 $fileName" > sha256.txt
33+
echo "$sha $fileName" > sha256.txt
3334
sha256sum -c sha256.txt
3435
3536
- name: Build with Maven

0 commit comments

Comments
 (0)