From 116a7c430ded71f45838ef2f71bebcffdb639b73 Mon Sep 17 00:00:00 2001 From: Cynthia J Date: Tue, 8 Oct 2024 10:23:01 -0700 Subject: [PATCH 1/3] Update drive-app.sh Try to fix the ci issue https://github.com/firebase/snippets-flutter/actions/runs/11157277326/job/31011251101?pr=36 --- .github/workflows/scripts/drive-app.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/drive-app.sh b/.github/workflows/scripts/drive-app.sh index 9018c4a..7d97a51 100644 --- a/.github/workflows/scripts/drive-app.sh +++ b/.github/workflows/scripts/drive-app.sh @@ -5,7 +5,8 @@ TARGET_PATH="packages/$PROJECT_NAME/" # The && are necessary for some reason when using the Android Emulator action pushd "$TARGET_PATH" || exit && -flutter clean && +flutter pub cache clean && +flutter channel stable && flutter pub get && dart format . && flutter test integration_test From c6ac76b17525e810461e1a502568d3c7ef52eaa2 Mon Sep 17 00:00:00 2001 From: Cynthia J Date: Tue, 8 Oct 2024 11:06:36 -0700 Subject: [PATCH 2/3] Update drive-app.sh --- .github/workflows/scripts/drive-app.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/drive-app.sh b/.github/workflows/scripts/drive-app.sh index 7d97a51..311bcab 100644 --- a/.github/workflows/scripts/drive-app.sh +++ b/.github/workflows/scripts/drive-app.sh @@ -5,7 +5,8 @@ TARGET_PATH="packages/$PROJECT_NAME/" # The && are necessary for some reason when using the Android Emulator action pushd "$TARGET_PATH" || exit && -flutter pub cache clean && +flutter pub upgrade win32 && +flutter clean && flutter channel stable && flutter pub get && dart format . && From 619f0d0302a4f21726faf2c3a6bc080bce7b0daf Mon Sep 17 00:00:00 2001 From: Cynthia J Date: Tue, 8 Oct 2024 11:22:31 -0700 Subject: [PATCH 3/3] try again with win32 pinned to higher version --- .github/workflows/scripts/drive-app.sh | 2 -- packages/firebase_snippets_app/pubspec.lock | 12 ++++++------ packages/firebase_snippets_app/pubspec.yaml | 1 + 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/scripts/drive-app.sh b/.github/workflows/scripts/drive-app.sh index 311bcab..9018c4a 100644 --- a/.github/workflows/scripts/drive-app.sh +++ b/.github/workflows/scripts/drive-app.sh @@ -5,9 +5,7 @@ TARGET_PATH="packages/$PROJECT_NAME/" # The && are necessary for some reason when using the Android Emulator action pushd "$TARGET_PATH" || exit && -flutter pub upgrade win32 && flutter clean && -flutter channel stable && flutter pub get && dart format . && flutter test integration_test diff --git a/packages/firebase_snippets_app/pubspec.lock b/packages/firebase_snippets_app/pubspec.lock index 27b8cc8..52a4c40 100644 --- a/packages/firebase_snippets_app/pubspec.lock +++ b/packages/firebase_snippets_app/pubspec.lock @@ -261,10 +261,10 @@ packages: dependency: transitive description: name: ffi - sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99 + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "2.1.3" file: dependency: transitive description: @@ -1165,13 +1165,13 @@ packages: source: hosted version: "3.0.3" win32: - dependency: transitive + dependency: "direct main" description: name: win32 - sha256: f2add6fa510d3ae152903412227bda57d0d5a8da61d2c39c1fb022c9429a41c0 + sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" url: "https://pub.dev" source: hosted - version: "5.0.6" + version: "5.5.4" xdg_directories: dependency: transitive description: @@ -1189,5 +1189,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.3.0 <4.0.0" + dart: ">=3.4.0 <4.0.0" flutter: ">=3.19.0" diff --git a/packages/firebase_snippets_app/pubspec.yaml b/packages/firebase_snippets_app/pubspec.yaml index 835e1eb..74057a3 100644 --- a/packages/firebase_snippets_app/pubspec.yaml +++ b/packages/firebase_snippets_app/pubspec.yaml @@ -45,6 +45,7 @@ dependencies: crypto: ^3.0.1 firebase_crashlytics: ^3.3.0 firebase_auth_platform_interface: ^7.3.0 + win32: ^5.5.4 dev_dependencies: flutter_test: