Skip to content

ci: add pub.dev publishing workflow#130

Merged
andyhorn merged 1 commit into
mainfrom
ci/pub-dev-publish-workflow
May 27, 2026
Merged

ci: add pub.dev publishing workflow#130
andyhorn merged 1 commit into
mainfrom
ci/pub-dev-publish-workflow

Conversation

@andyhorn
Copy link
Copy Markdown
Owner

Summary

  • Adds .github/workflows/publish.yaml that publishes the package to pub.dev when a v* tag is pushed or a GitHub release is published.
  • Uses dart-lang/setup-dart/.github/workflows/publish.yml@v1 with OIDC (id-token: write) — no pub.dev credentials stored as repo secrets.
  • Pairs with the existing release-please workflow, which produces the v<version> tag and release on merge of its release PR.

Required setup (already done)

  • pub.dev package admin → Automated publishing → GitHub repo andyhorn/flutter_resizable_container, tag pattern v{{version}}.

Test plan

  • Merge this PR.
  • On the next release-please release PR merge, confirm the Publish to pub.dev workflow runs against the v<version> tag and the new version appears on pub.dev.

🤖 Generated with Claude Code

Triggers on release-please tags (v*) and published releases, then
runs dart-lang/setup-dart's reusable publish workflow with OIDC so no
pub.dev credentials need to be stored as repo secrets. Requires
"Automated publishing" to be enabled on the pub.dev package admin page
with tag pattern v{{version}}.
@andyhorn andyhorn force-pushed the ci/pub-dev-publish-workflow branch from abcb2db to 10487b7 Compare May 27, 2026 13:57
@andyhorn andyhorn merged commit badacb8 into main May 27, 2026
1 check passed
@andyhorn andyhorn deleted the ci/pub-dev-publish-workflow branch May 27, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant