diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index aa56fe1e..d0521a93 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -138,15 +138,6 @@ jobs: ruby-version: 2.7.6 bundler-cache: true - - name: Assemble beta and upload to Google Play - if: contains(steps.tagger.outputs.tag, '-beta') - run: bundle exec fastlane beta - env: - STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} - KEY_ALIAS: ${{ secrets.KEY_ALIAS }} - KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} - BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }} - - name: Assemble WearOS beta and upload to Google Play if: contains(steps.tagger.outputs.tag, '-beta') run: bundle exec fastlane beta_wearos @@ -156,9 +147,9 @@ jobs: KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }} - - name: Assemble production and upload to Google Play - if: "!contains(steps.tagger.outputs.tag, '-beta')" - run: bundle exec fastlane production + - name: Assemble beta and upload to Google Play + if: contains(steps.tagger.outputs.tag, '-beta') + run: bundle exec fastlane beta env: STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} KEY_ALIAS: ${{ secrets.KEY_ALIAS }} @@ -168,6 +159,15 @@ jobs: - name: Assemble WearOS production and upload to Google Play if: "!contains(steps.tagger.outputs.tag, '-beta')" run: bundle exec fastlane production_wearos + env: + STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} + KEY_ALIAS: ${{ secrets.KEY_ALIAS }} + KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} + BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }} + + - name: Assemble production and upload to Google Play + if: "!contains(steps.tagger.outputs.tag, '-beta')" + run: bundle exec fastlane production env: STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} KEY_ALIAS: ${{ secrets.KEY_ALIAS }}