Skip to content

Publish action failing due to invalid token #305

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

Closed
jkevan opened this issue Jul 1, 2024 · 3 comments · Fixed by #306
Closed

Publish action failing due to invalid token #305

jkevan opened this issue Jul 1, 2024 · 3 comments · Fixed by #306
Assignees

Comments

@jkevan
Copy link
Collaborator

jkevan commented Jul 1, 2024

While working on: #302
During the release, I started a publish action: https://github.com/Enigmatis/graphql-java-annotations/actions/runs/9745767091/job/26894508281

But it's failing due to:

Execution failed for task ':publishMavenPublicationToSonatypeRepository'.
> Failed to publish publication 'maven' to repository 'sonatype'
   > Could not PUT 'https://oss.sonatype.org/service/local/staging/deployByRepositoryId/iogithubgraphql-java-1070/io/github/graphql-java/graphql-java-annotations/21.5/graphql-java-annotations-21.5.jar'. Received status code 401 from server: Content access is protected by token

May be token is expired and need to be updated ?

@geichelberger
Copy link
Contributor

Do you know if there is any news about the problem yet?

@Fgerthoffert
Copy link
Collaborator

Yes, we recovered push permissions to maven central, the release should be done soon.

@jkevan
Copy link
Collaborator Author

jkevan commented Aug 5, 2024

Version 21.5 is now released and available in maven central repository.

@jkevan jkevan closed this as completed Aug 5, 2024
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 a pull request may close this issue.

4 participants