Skip to content

Commit

Permalink
[PM-7982] Use a different GoogleService-Info.plist file on beta builds (
Browse files Browse the repository at this point in the history
  • Loading branch information
KatherineInCode authored Jul 8, 2024
1 parent d600346 commit 63ef8a1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ jobs:
--file $HOME/secrets/$FILE --output none
done
- name: Retrieve Google Services secret
- name: Retrieve production Google Services secret
if: env.build-variant == 'Production'
env:
ACCOUNT_NAME: bitwardenci
CONTAINER_NAME: mobile
Expand All @@ -120,6 +121,18 @@ jobs:
az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME --name $FILE \
--file Bitwarden/Application/Support/$FILE --output none
- name: Retrieve beta Google Services secret
if: env.build-variant == 'Beta'
env:
ACCOUNT_NAME: bitwardenci
CONTAINER_NAME: mobile
SOURCE_FILE: GoogleService-Info-ios-pm-beta.plist
TARGET_FILE: GoogleService-Info.plist
run: |
mkdir -p $HOME/secrets
az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME --name $SOURCE_FILE \
--file Bitwarden/Application/Support/$TARGET_FILE --output none
- name: Retrieve certificates
run: |
mkdir -p $HOME/certificates
Expand Down

0 comments on commit 63ef8a1

Please sign in to comment.