ci: verify keystore SHA1 before Play Store build
Decodes ANDROID_KEYSTORE_BASE64 and prints the SHA1 fingerprint via keytool before invoking the Dagger build, to confirm which key is in the secret vs. what the build actually uses. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
24cafd1a93
commit
3c403369fb
@@ -105,6 +105,15 @@ jobs:
|
||||
DAGGER_CLIENT_KEY: ${{ secrets.DAGGER_CLIENT_KEY }}
|
||||
run: scripts/setup_dagger_remote.sh
|
||||
|
||||
- name: Verify keystore SHA1
|
||||
env:
|
||||
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
|
||||
run: |
|
||||
echo "$ANDROID_KEYSTORE_BASE64" | base64 -d > /tmp/upload-keystore.jks
|
||||
keytool -list -keystore /tmp/upload-keystore.jks -storepass "$ANDROID_KEYSTORE_PASSWORD" -alias upload
|
||||
rm /tmp/upload-keystore.jks
|
||||
|
||||
- name: Build & Deploy to Play Store
|
||||
env:
|
||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user