Skip to content

Commit

Permalink
chore: fixed google service condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Apr 12, 2024
1 parent a1402de commit 4d82199
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-android-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ jobs:
run: echo ${{ secrets.keystore }} | base64 --decode >> ${{ inputs.root-path }}/android/app/${{ secrets.keystore-name }}.keystore

- name: Add Google Services file
if: ${{ secrets.google-services-file != '' }}
run: touch ${{ inputs.root-path }}/android/app/google-services.json && echo ${{ secrets.google-services-file }} >> ${{ inputs.root-path }}/android/app/google-services.json
env:
google-services-file: ${{ secrets.secrets.google-services-file }}
if: ${{ env.google-services-file != '' }}
run: touch ${{ inputs.root-path }}/android/app/google-services.json && echo ${{ env.google-services-file }} >> ${{ inputs.root-path }}/android/app/google-services.json

- name: Build APK
run: cd ${{ inputs.root-path }} && yarn install && yarn run android:build:internal
Expand Down

0 comments on commit 4d82199

Please sign in to comment.