Skip to content

Commit

Permalink
Add google services to CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgomezrico committed Sep 3, 2023
1 parent 6ad7c3d commit caca63d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ jobs:
run: chmod +x gradlew

- name: Prepare Env
env:
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
run: |
echo "android.useAndroidX=true" >> gradle.properties
echo "android.enableJetifier=true" >> gradle.properties
base64 -d <<< GOOGLE_SERVICES > app/google-services.json
- name: Build with Gradle
run: ./gradlew build
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
BANJEN_SIGN_PATH: ${{ secrets.BANJEN_SIGN_PATH }}
BANJEN_ADS_UNIT_ID_BANNER: ${{ secrets.BANJEN_ADS_UNIT_ID_BANNER }}
BANJEN_ADMOB_APP_ID: ${{ secrets.BANJEN_ADMOB_APP_ID }}
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
run: |
run: |
echo "android.useAndroidX=true" >> gradle.properties
echo "android.enableJetifier=true" >> gradle.properties
base64 -d <<< $KEY > app/key.keystore
base64 -d <<< GOOGLE_SERVICES > app/google-services.json
echo $BANJEN_SIGN_PWD >> gradle.properties
echo $BANJEN_SIGN_ALIAS >> gradle.properties
echo $BANJEN_SIGN_PATH >> gradle.properties
Expand Down

0 comments on commit caca63d

Please sign in to comment.