Skip to content

Add google services to CI process #13

Add google services to CI process

Add google services to CI process #13

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
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