RAMP: Add Google Play deployment to AAB release workflow - #36
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends the RAMPcapture signed AAB release workflow to support Google Play deployment (track-selectable via workflow_dispatch), then retrieves the Play-signed universal APK and attaches it to the GitHub release. It also updates versionCode handling so fork releases can use a Play-friendly yyMMrrrrr scheme via an environment override.
Changes:
- Restructures the signed AAB release workflow into multiple jobs (build, release creation, Play deploy, universal APK attachment) and adds track input.
- Adds composite actions + a Python script to upload to Google Play and poll/download the generated universal APK.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|
| app/build.gradle.kts | Allows overriding versionCode via RAMP_CAPTURE_VERSION_CODE env var for fork releases. |
| .github/workflows/rampcapture-github-release-signed-aab.yml | Splits workflow into build/release/deploy/download jobs; adds Google Play deploy + universal APK attachment. |
| .github/scripts/download-universal-apk.py | Polls Android Publisher API generatedApks to download the Play-signed universal APK. |
| .github/actions/download-universal-apk/action.yml | Composite action wiring Python + dependencies to run the download script. |
| .github/actions/determine-fork-release/action.yml | Computes next fork release tag and the yyMMrrrrr versionCode. |
| .github/actions/deploy-google-play/action.yml | Composite wrapper to upload AAB to Google Play using a pinned third-party action. |
| .github/actions/build-signed-aab/action.yml | Composite action to build a signed AAB and copy it to a caller-provided path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cebc58e to
d95f75e
Compare
…support - Add signed AAB build and Google Play deployment workflow, with GitHub release creation and universal APK attachment. - Generate Android version codes in yyMMrrrrr format. - Create GitHub releases as drafts. - Enable parallel Gradle project synchronization. - Inline composite actions into the workflow and move the universal APK download script to scripts/rampcapture-release/ for easier review.
d95f75e to
15b4368
Compare
| gh release upload "${{ needs.build-aab.outputs.releaseTag }}" \ | ||
| "${{ runner.temp }}/${{ needs.build-aab.outputs.releaseTag }}-universal.apk" \ | ||
| --repo "${{ github.repository }}" |
…support - Add signed AAB build and Google Play deployment workflow, with GitHub release creation and universal APK attachment. - Generate Android version codes in yyMMrrrrr format. - Create GitHub releases as drafts. - Enable parallel Gradle project synchronization. - Inline composite actions into the workflow and move the universal APK download script to scripts/rampcapture-release/ for easier review.
cc4a0dd to
c6eaaf9
Compare
Summary
Adds Google Play deployment to the RAMPcapture signed AAB release workflow.
Main changes
rampcapture-release-google-play.ymlworkflow (renamed fromrampcapture-github-release-signed-aab.yml): builds the signed AAB, uploads it to the Google Play internal track, creates a draft GitHub release, and attaches the Play-generated universal APK.yyMMrrrrr(year, month, zero-padded GitHub run number).