no more dotenv
Build APK / build (push) Failing after 58s

This commit is contained in:
2026-10-01 23:56:50 +05:00
parent 167ed3e67d
commit 44604f3301
+8 -2
View File
@@ -15,8 +15,14 @@ jobs:
- name: Setup keystore and environment
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | tr -d '\n' | base64 -d > app/key.jks
echo "${{ secrets.DOTENV_BASE64 }}" | tr -d '\n' | base64 -d > .build/release/.env
# Keystore is binary, so it must be base64. Strip any whitespace/newlines first.
echo "${{ secrets.KEYSTORE_BASE64 }}" | tr -d '[:space:]' | base64 -d > app/key.jks
# Write the .env directly from plain secrets (no base64 dotenv to get wrong).
{
echo "KEYSTORE_PASSWORD=${{ secrets.KEYSTORE_PASSWORD }}"
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}"
echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}"
} > .build/release/.env
- name: Build APK
working-directory: .build/release