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

Update to user tokens #53

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Update to user tokens #53

merged 1 commit into from
Nov 14, 2024

Conversation

sourada-e5
Copy link
Contributor

@sourada-e5 sourada-e5 commented Nov 14, 2024

Summary

Per https://central.sonatype.org/news/20240301_changes_to_account_management/#new-publishers-who-will-be-publishing-via-ossrh (and because we got a 401 error publishing the old way), we now have to use user tokens to publish.

I followed the instructions here: https://central.sonatype.org/publish/generate-token/ and generated a token username/password pair, which I added to the 1Password entry for Sonatype, and to Github actions secrets.

I think this yml update will cause the publish action to use the new things.

Per https://central.sonatype.org/news/20240301_changes_to_account_management/#new-publishers-who-will-be-publishing-via-ossrh
(and because we got a 401 error publishing the old way), we now have to use user tokens to publish.

I followed the instructions here: https://central.sonatype.org/publish/generate-portal-token/ and generated a token
username/password pair, which I added to the 1Password entry for Sonatype, and to Github actions secrets.

I think this yml update will cause the publish action to use the new things.
@sourada-e5 sourada-e5 requested a review from a team as a code owner November 14, 2024 20:58
Copy link
Contributor

@mikemccarty-vertex mikemccarty-vertex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sourada-e5 sourada-e5 merged commit 54e1844 into main Nov 14, 2024
2 checks passed
@sourada-e5 sourada-e5 deleted the update-publishing-to-user-tokens branch November 14, 2024 21:25
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.

3 participants