Skip to content

Commit 8a05998

Browse files
fix: use secret for sha check of keystore
1 parent 84914ce commit 8a05998

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ jobs:
3030
env:
3131
fileName: ./keystore.jks
3232
encodedString: ${{ secrets.KEYSTORE }}
33+
sha: ${{ secrets.KEYSTORE_SHA }}
3334
run: |
3435
echo "$encodedString" | base64 -d > $fileName
35-
echo "6cab9fa86689a9969097a662891fe8a1d8752ac430c18750cfa4d230744ac4a7 $fileName" > sha256.txt
36+
echo "$sha $fileName" > sha256.txt
3637
sha256sum -c sha256.txt
3738
3839
- name: Build with Maven

0 commit comments

Comments
 (0)