make ci build use mapbox download key per #218 (thanks to @hpsaturn)

pull/250/head
Kevin Hester 2021-02-21 10:36:03 +08:00
rodzic 217d5acd91
commit 0c4be072db
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -20,6 +20,9 @@ jobs:
run: |
echo $gservices > ./app/google-services.json
echo $mapboxtoken > ./app/src/main/res/values/mapbox-token.xml
mkdir -p ~/.gradle
echo "MAPBOX_DOWNLOADS_TOKEN=$mapboxtoken" >>~/.gradle/gradle.properties
- name: Mock curfirmware version for CI
run: |
rm ./app/src/main/res/values/curfirmwareversion.xml
@ -28,5 +31,7 @@ jobs:
uses: actions/setup-java@master
with:
java-version: 1.8
- name: Build java code
run: bash ./gradlew build
- name: Unit tests
run: bash ./gradlew test --stacktrace