update build.yml

This commit is contained in:
Salvatore Giordano
2021-01-15 15:21:04 +01:00
parent bc42ab078f
commit 18531837eb
+4 -6
View File
@@ -44,12 +44,6 @@ jobs:
build_and_deploy_android:
runs-on: ubuntu-latest
steps:
- name: Decode google-services.json
env:
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
run: |
pwd
echo $FIREBASE_SECRET > ./example/android/app/google-services.json
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
@@ -60,6 +54,10 @@ jobs:
- run: |
cd example
flutter pub get
- name: Decode google-services.json
env:
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
run: echo $FIREBASE_SECRET > ./example/android/app/google-services.json
- name: Build
run: |
cd example