PM-3349 Uncommented the Deploy step for Android job

This commit is contained in:
Federico Maccaroni 2023-12-15 16:38:40 -03:00
parent 6b9faed45f
commit 8484b4af30
No known key found for this signature in database
GPG Key ID: 5D233F8F2B034536
1 changed files with 13 additions and 14 deletions

View File

@ -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: