Automate monthly SDK bumps and Google Play publishing #3
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.
Implements automated workflows for monthly Android SDK updates and continuous deployment to Google Play Store when version numbers change.
Changes
Monthly SDK Bump Workflow (
sdk-bump.yml)compileSdkVersion,targetSdkVersion,versionCode,versionNamemajor.minor.patchwith fallback for edge casesGoogle Play Publishing Workflow (
publish-play-store.yml)app/build.gradlechanges in main/masterversionCodebetween commits to detect new versionsANDROID_KEYSTORE_BASE64,SIGNING_KEY_ALIAS,SIGNING_KEY_PASSWORD,SIGNING_STORE_PASSWORD,GOOGLE_PLAY_SERVICE_ACCOUNT_JSONBuild Configuration
Added conditional signing to
app/build.gradle:signingConfigs { release { if (System.getenv("SIGNING_KEY_ALIAS")) { def keystorePath = System.getenv("GITHUB_WORKSPACE") ? "${System.getenv('GITHUB_WORKSPACE')}/release.keystore" : "release.keystore" storeFile file(keystorePath) storePassword System.getenv("SIGNING_STORE_PASSWORD") keyAlias System.getenv("SIGNING_KEY_ALIAS") keyPassword System.getenv("SIGNING_KEY_PASSWORD") } } }Documentation
.github/workflows/README.md: Setup instructions, required secrets, troubleshootingREADME.mdwith automation overviewBoth workflows support manual triggering via
workflow_dispatch. Signing configuration is optional and doesn't break local builds.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.