From 0cc08f3f70bef04bd7feda868f3b910f5c1ec226 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Tue, 28 Jul 2026 18:14:02 +0900 Subject: [PATCH 1/2] ci: publish with --force so the intentional flutter_webrtc pin warning is not fatal --- .changes/fix-publish-workflow | 1 + .github/workflows/publish.yaml | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .changes/fix-publish-workflow diff --git a/.changes/fix-publish-workflow b/.changes/fix-publish-workflow new file mode 100644 index 000000000..a25f5bb85 --- /dev/null +++ b/.changes/fix-publish-workflow @@ -0,0 +1 @@ +patch type="fixed" "Publish workflow no longer fails on the intentional flutter_webrtc pin warning" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2373429be..150ec6170 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,8 +21,23 @@ on: jobs: publish: + runs-on: ubuntu-latest permissions: id-token: write # Required for authentication using OIDC - uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 - # with: - # working-directory: path/to/package/within/repository + steps: + - name: Checkout + uses: actions/checkout@v6 + + # Mints a temporary pub.dev token from the GitHub OIDC token and + # registers it in the shared pub config used by the publish step. + - name: Setup Dart for pub.dev auth + uses: dart-lang/setup-dart@v1 + + - name: Setup Flutter + uses: ./.github/actions/setup-flutter + + # The exact flutter_webrtc pin is intentional (native WebRTC-SDK pods + # must match) but always triggers a pub validation warning, and pub + # treats warnings as fatal without --force. + - name: Publish + run: dart pub publish --force From 8eb5673889f5d506773a0efd98d464dd1509e76d Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Tue, 28 Jul 2026 18:15:36 +0900 Subject: [PATCH 2/2] chore: drop changeset, workflow-only change --- .changes/fix-publish-workflow | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .changes/fix-publish-workflow diff --git a/.changes/fix-publish-workflow b/.changes/fix-publish-workflow deleted file mode 100644 index a25f5bb85..000000000 --- a/.changes/fix-publish-workflow +++ /dev/null @@ -1 +0,0 @@ -patch type="fixed" "Publish workflow no longer fails on the intentional flutter_webrtc pin warning"