From 2d027a0efcff7442419245c68b926368dc176cfb Mon Sep 17 00:00:00 2001 From: Oliver Zimmerman Date: Mon, 10 Feb 2025 10:54:59 +0000 Subject: [PATCH] fix: create firebase-options.dart on ui test action run --- .github/workflows/ui_tests.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index d87b7ed..a5389fe 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -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 < 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 < lib/firebase_options.dart + ${{ secrets.FIREBASE_OPTIONS_DART }} + EOF + # 3) Install Flutter - name: Set up Flutter uses: subosito/flutter-action@v2