update build.yml
This commit is contained in:
@@ -44,12 +44,6 @@ jobs:
|
|||||||
build_and_deploy_android:
|
build_and_deploy_android:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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/checkout@v2
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
@@ -60,6 +54,10 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
cd example
|
cd example
|
||||||
flutter pub get
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd example
|
cd example
|
||||||
|
|||||||
Reference in New Issue
Block a user