feat: enhance signing configuration to handle missing keystore and fallback to debug keystore

This commit is contained in:
Sarto
2026-04-04 21:59:43 +03:30
parent 1e919373d0
commit 60da455a35
2 changed files with 18 additions and 9 deletions
+6 -2
View File
@@ -115,11 +115,15 @@ jobs:
cp artifacts/thefeed-client-android-arm64 android/app/src/main/jniLibs/arm64-v8a/libthefeed.so
- name: Decode signing keystore
if: env.KEYSTORE_BASE64 != ''
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > android/app/keystore.jks
if [ -n "$KEYSTORE_BASE64" ]; then
echo "$KEYSTORE_BASE64" | base64 -d > android/app/keystore.jks
echo "Keystore decoded successfully"
else
echo "No KEYSTORE_BASE64 secret set — will use debug signing"
fi
- name: Set up Java
uses: actions/setup-java@v4