-
-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add GitHub Workflow for Publishing to pub.dev #355
Conversation
@oriventi, I have updated the config on my side as per the details mentioned. |
Hi @oriventi, just checking in—do we still need this PR, or can it be closed? |
Hey @queendevelopers, |
Sound good! Actually, having this feature is a great way to keep package up-to-date with repository. Thank You! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Approved. Thanks!
@queendevelopers, I don't think there is the need to add |
Apologies, my mistake. I believe everything should be good now. Thank you for reviewing! |
Summary
This PR introduces a GitHub Actions workflow that automates publishing to pub.dev whenever a new release or tag is created. The feature is implemented through a new file added to the
.github/workflows
directory.Workflow Details
Publish to pub.dev
v[0-9]+.[0-9]+.[0-9]+*
), such asv1.2.3
.dart-lang/setup-dart/.github/workflows/publish.yml@v1
reusable workflow from the official documentation.Benefits
Steps for Owners to Enable Automated Publishing
To enable this workflow, the package owner must: