Fix compatibility with the new website #28
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: CI | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Decode google-services.json | |
env: | |
MAPS_SECRET: ${{ secrets.MAPS_SECRET }} | |
run: echo $MAPS_SECRET > ./maps.properties | |
- name: Build | |
run: | | |
chmod +x ./gradlew | |
./gradlew build | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: my_velobike.apk | |
path: app/build/outputs/apk/debug/app-debug.apk |