mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Merge pull request #1 from hpsaturn/av/fix_ci_issue_218
Av/fix ci issue 218
This commit is contained in:
commit
217d5acd91
1 changed files with 8 additions and 5 deletions
13
.github/workflows/android.yml
vendored
13
.github/workflows/android.yml
vendored
|
|
@ -13,12 +13,15 @@ jobs:
|
|||
- uses: actions/checkout@master
|
||||
- name: Checkout submodules
|
||||
uses: textbook/git-checkout-submodule-action@master
|
||||
- name: Mock config files for CI
|
||||
- name: Loading secrets
|
||||
env:
|
||||
gservices: ${{ secrets.gservices }}
|
||||
mapboxtoken: ${{ secrets.mapboxtoken }}
|
||||
run: |
|
||||
echo $gservices > ./app/google-services.json
|
||||
echo $mapboxtoken > ./app/src/main/res/values/mapbox-token.xml
|
||||
- name: Mock curfirmware version for CI
|
||||
run: |
|
||||
rm ./app/google-services.json
|
||||
cp ./app/google-services-example.json ./app/google-services.json
|
||||
rm ./app/src/main/res/values/mapbox-token.xml
|
||||
cp ./app/special/mapbox-token.xml ./app/src/main/res/values/
|
||||
rm ./app/src/main/res/values/curfirmwareversion.xml
|
||||
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
|
||||
- name: set up JDK 1.8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue