Skip to content

Commit

Permalink
validate keystore before building
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQuan committed Nov 25, 2023
1 parent 74efb62 commit ea27415
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ jobs:
uses: timheuer/[email protected]
with:
fileName: 'android_keystore.jks'
fileDir: '/home/runner/work/<<project name>>/<<project name>>/project/android/app/keystore/'
fileDir: project/android/app/keystore/
encodedString: ${{ secrets.KEYSTORE }}
- name: Validate Keystore
run: |
if test -f project/android/app/keystore/android_keystore.jks; then
echo "Keystore file exists."
else
echo "Keystore file does not exist."
exit 1
fi
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
Expand Down

0 comments on commit ea27415

Please sign in to comment.