From 8484b4af30b1761fdb92c97e363c8604e0ca1cad Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Fri, 15 Dec 2023 16:38:40 -0300 Subject: [PATCH] PM-3349 Uncommented the Deploy step for Android job --- .github/workflows/build.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92ec221df..ee1088cd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -276,21 +276,20 @@ jobs: path: ./bw-android-${{ matrix.variant }}-apk-sha256.txt if-no-files-found: error - # TODO: Uncomment when finishing testing iOS on TestFlight (hotfix-rc branch) - # - name: Deploy to Play Store - # if: ${{ matrix.variant == 'prod' && (( github.ref == 'refs/heads/main' - # && needs.setup.outputs.rc_branch_exists == 0 - # && needs.setup.outputs.hotfix_branch_exists == 0) - # || (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0) - # || github.ref == 'refs/heads/hotfix-rc' ) }} - # run: | - # PUBLISHER_PATH="$GITHUB_WORKSPACE/store/google/Publisher/bin/Release/net7.0/Publisher.dll" - # CREDS_PATH="$HOME/secrets/play_creds.json" - # AAB_PATH="$GITHUB_WORKSPACE/com.x8bit.bitwarden.aab" - # TRACK="internal" + - name: Deploy to Play Store + if: ${{ matrix.variant == 'prod' && (( github.ref == 'refs/heads/main' + && needs.setup.outputs.rc_branch_exists == 0 + && needs.setup.outputs.hotfix_branch_exists == 0) + || (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0) + || github.ref == 'refs/heads/hotfix-rc' ) }} + run: | + PUBLISHER_PATH="$GITHUB_WORKSPACE/store/google/Publisher/bin/Release/net7.0/Publisher.dll" + CREDS_PATH="$HOME/secrets/play_creds.json" + AAB_PATH="$GITHUB_WORKSPACE/com.x8bit.bitwarden.aab" + TRACK="internal" - # dotnet $PUBLISHER_PATH $CREDS_PATH $AAB_PATH $TRACK - # shell: bash + dotnet $PUBLISHER_PATH $CREDS_PATH $AAB_PATH $TRACK + shell: bash f-droid: