Gate Play upload on AAB artifact availability

This commit is contained in:
Juan José Mata
2026-04-24 21:32:12 +02:00
parent 8fed5156fe
commit a03a67f4a2
2 changed files with 7 additions and 0 deletions

View File

@@ -2,6 +2,10 @@ name: Flutter Mobile Build
on:
workflow_call:
outputs:
has_app_release_aab:
description: "Whether a signed release AAB artifact was produced"
value: ${{ jobs.build-android.outputs.has_app_release_aab }}
workflow_dispatch:
permissions:
@@ -12,6 +16,8 @@ jobs:
name: Build Android APK
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
has_app_release_aab: ${{ steps.check_secrets.outputs.has_keystore }}
steps:
- name: Checkout code

View File

@@ -73,6 +73,7 @@ jobs:
play-store:
name: Upload Android to Google Play
if: ${{ needs.build.outputs.has_app_release_aab == 'true' }}
needs: [build, prepare_release]
uses: ./.github/workflows/google-play-upload.yml
with: