updated warning #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build APK | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Create Google Services JSON File | |
env: | |
GOOGLE_SERVICES_JSON: ${{ secrets.TIB_KEYBOARD_GOOGLE_SERVICES_JSON }} | |
run: echo $GOOGLE_SERVICES_JSON | base64 -di > app/google-services.json | |
- name: Build APK | |
run: ./gradlew build | |
- name: Upload APK | |
uses: actions/[email protected] | |
with: | |
name: app-debug | |
path: app/build/outputs/apk/debug/app-debug.apk |