Skip to content

Commit

Permalink
fix: create firebase-options.dart on ui test action run
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Zimmerman committed Feb 10, 2025
1 parent 1f7eefa commit 2d027a0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ jobs:
# 1) Check out repo
- uses: actions/checkout@v3

# 2) Create google-services.json if you have it in a secret
# 2a) Create google-services.json if you have it in a secret
- name: Create google-services.json
run: |
cat <<EOF > android/app/google-services.json
${{ secrets.GOOGLE_SERVICES_JSON }}
EOF
# 2b) Create firebase-options.dart if you have it in a secret
- name: Create firebase-options.dart
run: |
cat <<EOF > lib/firebase_options.dart
${{ secrets.FIREBASE_OPTIONS_DART }}
EOF
# 3) Install Flutter
- name: Set up Flutter
uses: subosito/flutter-action@v2
Expand Down

0 comments on commit 2d027a0

Please sign in to comment.