sforkowany z mirror/meshtastic-android
mock google-services.json for debug
rodzic
0529fb065f
commit
956c865e18
|
@ -17,18 +17,17 @@ jobs:
|
|||
|
||||
- name: Load secrets
|
||||
run: |
|
||||
rm ./app/google-services.json
|
||||
echo $GSERVICES > ./app/google-services.json
|
||||
rm ./app/src/main/res/values/mapbox-token.xml
|
||||
echo -e "<resources>\n <string name=\"mapbox_access_token\">$MAPBOXTOKEN</string>\n</resources>" > ./app/src/main/res/values/mapbox-token.xml
|
||||
mkdir -p ~/.gradle
|
||||
echo "MAPBOX_DOWNLOADS_TOKEN=$MAPBOXTOKEN" >>~/.gradle/gradle.properties
|
||||
env:
|
||||
GSERVICES: ${{ secrets.GSERVICES }}
|
||||
MAPBOXTOKEN: ${{ secrets.MAPBOXTOKEN }}
|
||||
|
||||
- name: Mock curfirmware version for CI
|
||||
- name: Mock files for CI
|
||||
run: |
|
||||
rm ./app/google-services.json
|
||||
cp ./app/google-services-example.json ./app/google-services.json
|
||||
rm ./app/src/main/res/values/curfirmwareversion.xml
|
||||
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue