[PM-25396] Publish store builds when release branches are updated (#5821)

This commit is contained in:
Álison Fernandes 2025-09-03 13:45:05 +01:00 committed by GitHub
parent 9b074f2106
commit f402391ed8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,12 +18,12 @@ on:
distribute-to-firebase: distribute-to-firebase:
description: "Optional. Distribute artifacts to Firebase." description: "Optional. Distribute artifacts to Firebase."
required: false required: false
default: false default: true
type: boolean type: boolean
publish-to-play-store: publish-to-play-store:
description: "Optional. Deploy bundle artifact to Google Play Store" description: "Optional. Deploy bundle artifact to Google Play Store"
required: false required: false
default: false default: true
type: boolean type: boolean
env: env:
@ -417,7 +417,7 @@ jobs:
bundle exec fastlane run validate_play_store_json_key bundle exec fastlane run validate_play_store_json_key
- name: Publish Play Store bundle - name: Publish Play Store bundle
if: ${{ matrix.variant == 'prod' && matrix.artifact == 'aab' && (inputs.publish-to-play-store || github.ref_name == 'main') }} if: ${{ matrix.variant == 'prod' && matrix.artifact == 'aab' && (inputs.publish-to-play-store || github.event_name == 'push') }}
run: | run: |
bundle exec fastlane publishProdToPlayStore bundle exec fastlane publishProdToPlayStore
bundle exec fastlane publishBetaToPlayStore bundle exec fastlane publishBetaToPlayStore