Skip to content
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

[ci] Publish the package to pub.dev on push tags event #32

Merged
merged 7 commits into from
Sep 26, 2024

Conversation

littleGnAl
Copy link
Owner

@littleGnAl littleGnAl commented Sep 25, 2024

Although I checked out the tag to publish to pub.dev, it still failed with the error:

The calling GitHub Action is not allowed to publish, because: publishing is only allowed from 'tag' refType, this token has 'branch' refType. See https://dart.dev/go/publishing-from-github

https:/littleGnAl/glance/actions/runs/11040051016/job/30667088690

So I decided to publish the package to pub.dev on push tags event by following the official doc and test it in the next release.

@littleGnAl littleGnAl changed the title [ci][pubdev-publishing-manually.yml] Fix not add permissions config [ci] Publish the package to pub.dev on push tags event Sep 26, 2024
@littleGnAl littleGnAl merged commit d7a6aca into main Sep 26, 2024
5 checks passed
@littleGnAl littleGnAl deleted the littlegnal/fix-release-pub branch September 26, 2024 16:21
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