Skip to content

[workflow] update android.yml and create google-services.json #26

[workflow] update android.yml and create google-services.json

[workflow] update android.yml and create google-services.json #26

Workflow file for this run

name: Android CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Create file
run: cat /home/runner/work/infoplay/infoplay/app/google-services.json | base64
- name: Putting data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/infoplay/infoplay/app/google-services.json
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build