Skip to content

Commit

Permalink
Update flutter-android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
byackee committed Nov 22, 2024
1 parent e8c717f commit bd48003
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/flutter-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ jobs:
- name: Install dependencies
run: flutter pub get

- name: Write google-services.json
- name: Decode and write google-services.json
run: |
echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | sed 's/\\n/\n/g' | tr -d '\r' > android/app/google-services.json
echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 --decode > android/app/google-services.json
- name: Validate google-services.json
run: |
cat android/app/google-services.json | jq empty
- name: Decode and add the signing key
run: |
Expand Down

0 comments on commit bd48003

Please sign in to comment.