ci: restore keystore decoding step for beta signing#18
Merged
Conversation
Adds the step that materializes the signing keystore from the ANDROID_KEYSTORE_BASE64 secret to $HOME/app/alfie.keystore and exports the password/alias env vars that fastlane's run_build_beta lane consumes. Without this, :app:validateSigningBeta fails on main with "Keystore file '/home/runner/app/alfie.keystore' not found". Requires the following repo secrets to be configured: - ANDROID_KEYSTORE_BASE64 - ANDROID_KEYSTORE_PASSWORD - ANDROID_KEYSTORE_ALIAS - ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR restores the missing keystore materialization step in the deploy_beta.yml GitHub Actions workflow so Fastlane’s run_build_beta lane can find the signing keystore at $HOME/app/alfie.keystore and read the required signing env vars.
Changes:
- Add a workflow step to decode
ANDROID_KEYSTORE_BASE64into$HOME/app/alfie.keystore. - Export keystore password/alias/private key password variables for subsequent Fastlane execution.
Addresses PR feedback: - Restrict keystore file permissions so the private key isn't world-readable on the runner. - Pass keystore passwords via the Run Fastlane step's env instead of persisting them through $GITHUB_ENV, limiting blast radius. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deploy_beta.ymlthat materializes the signing keystore at$HOME/app/alfie.keystoreand exports the password/alias env vars consumed byfastlane/Fastfile'srun_build_betalane.:app:validateSigningBetafails onmainwithKeystore file '/home/runner/app/alfie.keystore' not found for signing config 'externalOverride'(see run 26142794217).Required secrets
Before merging, ensure these are configured on the repo (Settings → Secrets and variables → Actions):
ANDROID_KEYSTORE_BASE64—base64 -i alfie.keystoreANDROID_KEYSTORE_PASSWORDANDROID_KEYSTORE_ALIASANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD(PKCS12 keystore — same value as the store password)Test plan
mainrunsdeploy_beta.ymland:app:validateSigningBetapasses🤖 Generated with Claude Code