Skip to content

test

test #85

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create gitignored files
env:
GOOGLE_SERVICES: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
SECRET_STRINGS: ${{ secrets.SECRET_STRINGS }}
run: |
echo "$GOOGLE_SERVICES" | base64 -di > app/google-services.json
echo "$SECRET_STRINGS" | base64 -di > app/src/main/res/values/secret_strings.xml
- name: Build with Gradle
run: ./gradlew build