fix: Add dart-lang/setup-dart for OIDC pub.dev publishing#66
Conversation
flutter pub publish doesn't handle OIDC token exchange automatically. Add dart-lang/setup-dart which configures the OIDC credential flow, then use dart pub publish instead. Also add explicit id-token: write permission on the release job. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryMedium Risk Overview This adjusts the release pipeline’s authentication/toolchain preparation for the Written by Cursor Bugbot for commit ae0ce6b. This will update automatically on new commits. Configure here. |
Flutter packages must use flutter pub publish, not dart pub publish, since the package depends on the Flutter SDK. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Background
What Has Changed
Screenshots/Video
Checklist
Additional Notes
Reference Issue (For employees only. Ignore if you are an outside contributor)