From e06ee51d702968a6fc16daf5042c779030f7e817 Mon Sep 17 00:00:00 2001 From: Billie Ponder Date: Thu, 15 Oct 2026 03:38:47 -0400 Subject: [PATCH] ci(android): upload debug APK on demand and shorten artifact retention (#43) Co-authored-by: Developer --- .github/workflows/android-build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 279632f..cd33ed0 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -174,6 +174,7 @@ jobs: fi fi - name: Upload debug APK + if: github.event_name == 'workflow_dispatch' uses: actions/upload-artifact@v5 with: name: motorsignal-debug-apk @@ -181,7 +182,7 @@ jobs: build/app/outputs/flutter-apk/app-debug.apk build/app/outputs/flutter-apk/app-debug.apk.sha256 if-no-files-found: error - retention-days: 14 + retention-days: 3 release: name: Build signed release APK and AAB @@ -328,7 +329,7 @@ jobs: build/app/outputs/flutter-apk/app-release.apk build/release-artifacts.sha256 if-no-files-found: error - retention-days: 30 + retention-days: 7 - name: Upload release App Bundle uses: actions/upload-artifact@v5 with: @@ -337,7 +338,7 @@ jobs: build/app/outputs/bundle/release/app-release.aab build/release-artifacts.sha256 if-no-files-found: error - retention-days: 30 + retention-days: 7 - name: Remove signing credentials if: always() shell: bash