Skip to content

Commit a0eee8c

Browse files
ci(android): add debug steps
1 parent 26d6b32 commit a0eee8c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/android-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,26 @@ jobs:
8181
MYAPP_UPLOAD_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }}
8282
MYAPP_UPLOAD_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}
8383
EOF
84+
echo "✓ local.properties created"
85+
echo "Key alias: ${{ secrets.ANDROID_KEY_ALIAS }}"
8486
8587
- name: Make build script executable
8688
run: chmod +x ./scripts/build-release.sh
8789

90+
- name: Verify signing before build
91+
run: |
92+
echo "Verifying keystore one more time before build..."
93+
keytool -list -keystore android/app/release.keystore \
94+
-storepass '${{ secrets.ANDROID_KEYSTORE_PASSWORD }}' \
95+
-alias '${{ secrets.ANDROID_KEY_ALIAS }}' \
96+
-keypass '${{ secrets.ANDROID_KEY_PASSWORD }}' > /dev/null 2>&1
97+
if [ $? -eq 0 ]; then
98+
echo "✓ Signing configuration verified"
99+
else
100+
echo "✗ Signing verification failed"
101+
exit 1
102+
fi
103+
88104
- name: Build Android App Bundle
89105
run: ./scripts/build-release.sh
90106

0 commit comments

Comments
 (0)