diff --git a/.github/workflows/publish-github-release-bwa.yml b/.github/workflows/publish-github-release-bwa.yml index 56223cf766..f4ef151684 100644 --- a/.github/workflows/publish-github-release-bwa.yml +++ b/.github/workflows/publish-github-release-bwa.yml @@ -16,7 +16,7 @@ jobs: uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main with: release_name: "Authenticator" - workflow_name: "publish-github-release.yml" + workflow_name: "publish-github-release-bwa.yml" credentials_filename: "authenticator_play_store-creds.json" project_type: android check_release_command: > diff --git a/.github/workflows/publish-github-release-pwm.yml b/.github/workflows/publish-github-release-pwm.yml index 17bc629cd8..fe0853433b 100644 --- a/.github/workflows/publish-github-release-pwm.yml +++ b/.github/workflows/publish-github-release-pwm.yml @@ -16,7 +16,7 @@ jobs: uses: bitwarden/gh-actions/.github/workflows/_publish-mobile-github-release.yml@main with: release_name: "Password Manager" - workflow_name: "publish-github-release-pm.yml" + workflow_name: "publish-github-release-pwm.yml" credentials_filename: "play_creds.json" project_type: android check_release_command: > diff --git a/.github/workflows/publish-store.yml b/.github/workflows/publish-store.yml index 5c12f63eb2..17aa82333e 100644 --- a/.github/workflows/publish-store.yml +++ b/.github/workflows/publish-store.yml @@ -169,9 +169,15 @@ jobs: - name: Enable Publish Github Release Workflow if: ${{ steps.promote.conclusion == 'success' }} + env: + PRODUCT: ${{ inputs.product }} run: | if ${{ inputs.dry-run }} ; then gh workflow view publish-github-release.yml exit 0 fi - gh workflow enable publish-github-release.yml + if $PRODUCT == "Password Manager" ; then + gh workflow enable publish-github-release-pwm.yml + elif $PRODUCT == "Authenticator" ; then + gh workflow enable publish-github-release-bwa.yml + fi