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:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user