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

GitHub release failed with status: 422 #3

Open
Ali-RS opened this issue Jan 6, 2023 · 2 comments
Open

GitHub release failed with status: 422 #3

Ali-RS opened this issue Jan 6, 2023 · 2 comments

Comments

@Ali-RS
Copy link

Ali-RS commented Jan 6, 2023

Hi @MeFisto94

When creating a release it fails with

Run softprops/action-gh-release@v1
πŸ‘©β€πŸ­ Creating new GitHub release for tag refs/tags/v2.9.4...
⚠️ GitHub release failed with status: 422
[{"resource":"Release","code":"already_exists","field":"tag_name"}]
retrying... (2 retries remaining)
πŸ‘©β€πŸ­ Creating new GitHub release for tag refs/tags/v2.9.4...
⚠️ GitHub release failed with status: 422
[{"resource":"Release","code":"already_exists","field":"tag_name"}]
retrying... (1 retries remaining)
πŸ‘©β€πŸ­ Creating new GitHub release for tag refs/tags/v2.9.4...
⚠️ GitHub release failed with status: 422
[{"resource":"Release","code":"already_exists","field":"tag_name"}]
retrying... (0 retries remaining)
❌ Too many retries. Aborting...
Error: Too many retries.

Action logs: https://github.com/Ali-RS/lwjgl/actions/runs/3857404592

Do you perhaps know how can I fix it?

@Ali-RS
Copy link
Author

Ali-RS commented Jan 6, 2023

It seems I can not do this from the GitHub web interface? Using the "create new release" button will fail with the above error.
If I create a tag from IDE and push it to GitHub then it works fine.

@Ali-RS
Copy link
Author

Ali-RS commented Jan 7, 2023

Using svenstaro/upload-release-action@v2 action fixes the issue. https://github.com/Ali-RS/lwjgl/commit/1f3d62fb2343d634f39bc943febd15bcc20a8108

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