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

Example on the readme doesn't publish #39

Closed
git-elliot opened this issue Aug 6, 2022 · 3 comments
Closed

Example on the readme doesn't publish #39

git-elliot opened this issue Aug 6, 2022 · 3 comments

Comments

@git-elliot
Copy link

I've tried example in my workflow but it doesn't actually publishes to pub.dev. It does run dry successfully.

@git-elliot
Copy link
Author

When setting dry_run:false it asks for authenticate from browser but that has to be of vm not my browser. I'm stuck at this point. How to allow this inside the vm of github actions.

Pub needs your authorization to upload packages on your behalf.
In a web browser, go to
[auth_url]
Then click "Allow access".
Waiting for your authorization...

@git-elliot
Copy link
Author

Possible culprit can be the credentials file path.
Please fix implementation and add latest correct path.
Latest correct path - $HOME/.config/dart/pub-credentials.json

@git-elliot
Copy link
Author

Logging in and out is the only solution to this problem if you've setup correctly. I'm closing this issue, since it's not related to implementation.

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

No branches or pull requests

1 participant