update build.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user