From 55814bdf05939c05c1cfe3f93fab4fdf6a9e242e Mon Sep 17 00:00:00 2001 From: andreykropotov Date: Wed, 17 Jun 2026 15:03:51 +0400 Subject: [PATCH] DEV-648: fix OIDC publish (add dart-lang/setup-dart) + bump 0.0.3 --- .github/workflows/publish.yaml | 6 ++++++ CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b131182..b23b6fe 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -23,6 +23,12 @@ jobs: steps: - uses: actions/checkout@v4 + # Configures the pub.dev OIDC credential from the workflow's id-token. + # Without this step `flutter pub publish` falls back to interactive + # OAuth and hangs in CI. + - uses: dart-lang/setup-dart@v1 + + # Flutter is needed to resolve the plugin's `sdk: flutter` dependency. - uses: subosito/flutter-action@v2 with: channel: 'stable' diff --git a/CHANGELOG.md b/CHANGELOG.md index 07e4b98..e1dc0ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.3 + +* Fix automated publishing (configure pub.dev OIDC credential in CI). + ## 0.0.2 * Add MIT license. diff --git a/pubspec.yaml b/pubspec.yaml index 52150f1..0ee113c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: rees46_sdk description: "Flutter plugin wrapping the REES46 native personalization SDKs for Android and iOS." -version: 0.0.2 +version: 0.0.3 homepage: https://github.com/rees46/flutter-sdk repository: https://github.com/rees46/flutter-sdk issue_tracker: https://github.com/rees46/flutter-sdk/issues