Release Mobile: build APK on-runner with Gradle (drop EAS) - #32
Merged
Conversation
Replace the EAS build step in the release workflow with a signed Gradle build on the GitHub runner, removing the dependency on EAS Build and its monthly free-tier quota (which had blocked the v1.1.5 release). - setup-java (17) + setup-android + explicit NDK 27.1 install (Expo SDK 57). - expo prebuild → gradlew :app:assembleRelease. - Signing from repo secrets (ANDROID_KEYSTORE_BASE64 / *_PASSWORD / ANDROID_KEY_ALIAS), fed to the release signingConfig via the withReleaseSigning config plugin. - Tag push (v*.*.*) → publish "Kept vX" release with kept.apk, matching the promo site's releases/latest/download/kept.apk URL. - Added workflow_dispatch: builds + uploads the APK as a run artifact without publishing, for smoke-testing the build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
srjn45
added a commit
that referenced
this pull request
Jul 23, 2026
Extends the on-runner release workflow (#32) to cut both artifacts on every tag: kept.apk for direct install/testing and kept.aab for Play Console upload. Hardens the signature check from "some cert exists" to an exact SHA-256 match against the Kept upload key, so a misconfigured keystore secret fails the build instead of shipping a wrongly-signed artifact, and scrubs the keystore + credentials from the runner after the build. Also bump android.versionCode to 7 for the 1.1.6 Play release and switch the android/ios npm scripts to expo run:* (native builds, not just the dev server). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
srjn45
added a commit
that referenced
this pull request
Jul 23, 2026
…ses (#33) Extends the on-runner release workflow (#32) to cut both artifacts on every tag: kept.apk for direct install/testing and kept.aab for Play Console upload. Hardens the signature check from "some cert exists" to an exact SHA-256 match against the Kept upload key, so a misconfigured keystore secret fails the build instead of shipping a wrongly-signed artifact, and scrubs the keystore + credentials from the runner after the build. Also bump android.versionCode to 7 for the 1.1.6 Play release and switch the android/ios npm scripts to expo run:* (native builds, not just the dev server). Co-authored-by: Claude Fable 5 <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.
Replaces the EAS build step in the release workflow with a signed Gradle build on the GitHub runner, removing the dependency on EAS Build and its monthly free-tier quota — the same quota that blocked the
v1.1.5release (tagged, never published).What changes
setup-java(17) +setup-android+ explicit NDK 27.1.12297006 install (Expo SDK 57 toolchain).expo prebuild→./gradlew :app:assembleRelease.ANDROID_KEYSTORE_BASE64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIAS,ANDROID_KEY_PASSWORD), fed into the releasesigningConfigbyapps/mobile/plugins/withReleaseSigning.js(added in Add local (EAS-free) signed Android build path #30).v*.*.*) → publishes "Kept vX" withkept.apk, matching the promo site'sreleases/latest/download/kept.apkURL.workflow_dispatch: builds + uploads the APK as a run artifact without publishing — for smoke-testing the build itself.Verification plan
Dry-run via
workflow_dispatchon this branch (builds + signs, no release) before merging. Then av1.1.6tag cuts the first Kept-branded release.🤖 Generated with Claude Code