We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9adc029 commit 1ac5990Copy full SHA for 1ac5990
.github/workflows/ci.yml
@@ -158,9 +158,11 @@ jobs:
158
run: flutter pub run flutter_launcher_icons:main
159
160
- name: Build appbundle
161
+ env:
162
+ GOOGLE_SERVICES_JSON: ${{ github.ref == 'refs/heads/master' && secrets.ANDROID_GOOGLE_SERVICES_JSON || secrets.ANDROID_GOOGLE_SERVICES_JSON_DEV }}
163
run: |
164
echo ${{ github.ref == 'refs/heads/master' && secrets.ENV_PROD || secrets.ENV_DEV }} | base64 -d > .env
- echo ${{ secrets.ANDROID_GOOGLE_SERVICES_JSON }} | base64 -d > android/app/google-services.json
165
+ echo $GOOGLE_SERVICES_JSON | base64 -d > android/app/google-services.json
166
flutter build appbundle --release --build-number $GITHUB_RUN_NUMBER
167
cp release_notes.txt build/app/outputs/
168
0 commit comments