From e17d703689ddbb5a0971091ab76d2cc90593d7fe Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Thu, 8 Oct 2026 06:07:54 -0600 Subject: [PATCH] K2GO-433 chore(ci): expose Play AAB as a 1-day artifact on manual runs A workflow_dispatch run has no release tag, so the R2 upload and GitHub release steps are skipped. Add a dispatch-only upload-artifact step (1-day retention) so a signed Play AAB can be built from any branch without a release tag or a versionName bump. --- .github/workflows/android-release-build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/android-release-build.yml b/.github/workflows/android-release-build.yml index 0747942d..21a75698 100644 --- a/.github/workflows/android-release-build.yml +++ b/.github/workflows/android-release-build.yml @@ -85,6 +85,20 @@ jobs: -Pandroid.injected.signing.key.alias=$KEY_ALIAS \ -Pandroid.injected.signing.key.password=$KEY_PASSWORD + # --- ON-DEMAND AAB ARTIFACT --- + # K2GO-433: a manual run (workflow_dispatch) has no tag, so the R2 upload below is skipped. + # This step exposes the Play AAB as a run artifact instead. A build from any branch can then + # go to Play Console without a release tag or a versionName bump. Retention is short: this copy + # is a throwaway upload, not a kept release. + - name: Upload Play AAB artifact + if: github.event_name == 'workflow_dispatch' + uses: actions/upload-artifact@v4 + with: + name: k2go-play-aab + path: controller/**/build/outputs/bundle/playRelease/*.aab + if-no-files-found: error + retention-days: 1 + # --- GITHUB RELEASES --- - name: Create GitHub Release