fixed issue #162 for Android 13 and 14 #330
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: Android CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Loading submodules | |
run: git submodule update --init --recursive | |
- name: Work directory | |
run: pwd | |
- name: Loading secrets | |
env: | |
gservices: ${{ secrets.googleservices }} | |
aqicnkey: ${{ secrets.aqicnapikey }} | |
run: | | |
echo $gservices > ./app/google-services.json | |
echo $aqicnkey > ./app/src/main/res/values/api_aqicn.xml | |
- name: Build the app | |
run: ./gradlew build | |