enable publish workflow only if success

This commit is contained in:
Amy Galles 2025-10-02 13:10:00 -07:00
parent dd2cf0fe0a
commit 7e20acd6a2
No known key found for this signature in database
GPG Key ID: 00445BCEEB6E92BD

View File

@ -128,6 +128,7 @@ jobs:
echo "$FORMATTED_MESSAGE" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Promote Play Store version to production
id: promote
if: ${{ inputs.dry-run == false }}
env:
PLAY_KEYSTORE_PASSWORD: ${{ steps.get-kv-secrets.outputs.PLAY-BETA-KEYSTORE-PASSWORD }}
@ -167,6 +168,7 @@ jobs:
trackPromoteTo:"$TRACK_TARGET"
- name: Enable Publish Github Release Workflow
if: ${{ steps.promote.conclusion == 'success' }}
run: |
if ${{ inputs.dry-run }} ; then
gh workflow view publish-github-release.yml