From 83d7d5dfc1be55c62f5ebf8da2c89db8554152ba Mon Sep 17 00:00:00 2001 From: Rick van Dijk Date: Tue, 15 Sep 2026 19:44:17 -0700 Subject: [PATCH] Set up Flutter in the publish jobs Both publish jobs installed only the Dart SDK, so `dart pub publish` could not resolve the `flutter` SDK dependency and exited 69 before uploading. The v3.4.3 and firebase-v2.1.4 tags failed this way and nothing reached pub.dev. Uses the same pinned Flutter setup as the other jobs and publishes with `flutter pub publish`. Drops `-v`, whose output exceeded the step log limit and truncated the actual error. Co-Authored-By: Claude Opus 5 --- .github/workflows/build-firebase.yaml | 10 +++++++--- .github/workflows/build.yaml | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-firebase.yaml b/.github/workflows/build-firebase.yaml index 83b612c1..1342919e 100644 --- a/.github/workflows/build-firebase.yaml +++ b/.github/workflows/build-firebase.yaml @@ -75,8 +75,12 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Set up Dart - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version: ${{ env.FLUTTER_VERSION }} + cache: true - name: Publish package - run: dart pub publish -v -f + run: flutter pub publish -f diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 41ffd053..969dd9cf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -251,8 +251,12 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Set up Dart - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version: ${{ env.FLUTTER_VERSION }} + cache: true - name: Publish package - run: dart pub publish -v -f + run: flutter pub publish -f