Fix keystore base64 decode in CI (use printf + ignore-garbage)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alexpolo1
2026-02-28 23:33:22 +01:00
parent 4f7421ace9
commit 045c1885a9

View File

@@ -31,8 +31,11 @@ jobs:
restore-keys: gradle-
- name: Decode signing keystore
env:
KEYSTORE_B64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > "$RUNNER_TEMP/pixel10.keystore"
printf '%s' "$KEYSTORE_B64" | base64 --ignore-garbage -d > "$RUNNER_TEMP/pixel10.keystore"
echo "Keystore decoded: $(wc -c < $RUNNER_TEMP/pixel10.keystore) bytes"
- name: Build signed debug APK
env: