Claude/investigate android issue r tl yp#31
Merged
Conversation
Each CI run regenerates ~/.android/debug.keystore so the APK signing cert SHA-256 changes every build, which means ANDROID_ASSETLINKS_SHA256 on tempest-web has to be rotated for every debug install. Add a workflow step that decodes ANDROID_DEBUG_KEYSTORE_BASE64 (when set) into ~/.android/debug.keystore before gradle runs, so the signing cert is fixed across runs and the asset links env var only has to be set once. scripts/gen-debug-keystore.sh creates a fresh debug keystore with the standard alias and passwords gradle expects, base64 encodes it for the secret, and prints the SHA-256 fingerprint to paste into the web env var.
Lets the keystore + base64 + SHA-256 be produced from Actions without a local terminal. The run uploads everything as a 1-day artifact and prints the SHA-256 as a workflow notice so it can be copied straight into the tempest-web ANDROID_ASSETLINKS_SHA256 env var.
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.
No description provided.