There was an error while loading. Please reload this page.
1 parent ee0c6cb commit 81ee979Copy full SHA for 81ee979
1 file changed
.github/workflows/android-release.yml
@@ -60,6 +60,14 @@ jobs:
60
echo '${{ secrets.ANDROID_KEYSTORE_BASE64 }}' | base64 --decode > android/app/release.keystore
61
if [ -f android/app/release.keystore ]; then
62
echo "✓ Keystore decoded successfully"
63
+ # Verify keystore is valid
64
+ keytool -list -keystore android/app/release.keystore -storepass '${{ secrets.ANDROID_KEYSTORE_PASSWORD }}' > /dev/null 2>&1
65
+ if [ $? -eq 0 ]; then
66
+ echo "✓ Keystore is valid"
67
+ else
68
+ echo "✗ Keystore is invalid or password is incorrect"
69
+ exit 1
70
+ fi
71
else
72
echo "✗ Failed to decode keystore"
73
exit 1
0 commit comments