Closed witwash closed 2 months ago
@ookami-kb, could you please enable it on the pub.dev admin side? 🙏 https://dart.dev/tools/pub/automated-publishing#configuring-automated-publishing-from-github-actions-on-pub-dev
I would say, it should only run when the new version is merged into master.
IIRC, yeah, it requires some hacks. And I'm not sure if this specific solution will work when the tag is first pushed to feature branch, and then merged into master. So let's probably go with environments instead: https://dart.dev/tools/pub/automated-publishing#hardening-security-with-github-deployment-environments
@ookami-kb, I believe now you have to set up protection rules for the new environment. I've named it according to the example: pub.dev
Summary
optimus
on tag pushed.We need to set it up on the other end to allow this automation.
Testing steps
Follow-up issues
Tune this workflow and do the same for other packages that need to be published on
pub.dev
Check during review