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

Unable to upload asset to existing release #34

Closed
RadxaYuntian opened this issue Jun 1, 2022 · 5 comments · Fixed by #35
Closed

Unable to upload asset to existing release #34

RadxaYuntian opened this issue Jun 1, 2022 · 5 comments · Fixed by #35
Assignees
Labels
bug Something isn't working

Comments

@RadxaYuntian
Copy link
Contributor

Our use case involves building multiple system images for our product. As such to avoid running out disk spaces during release action we create an empty release first, then upload images from each matrix runner. This worked fine last month but when the task was scheduled to run this month the same code now failed.

The error message says Error: Try to update release 20220601-0037 for radxa-build/rock-3b failed: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"} which doesn't seems like an error but an intended result when we want to upload additional assets to an existing release.

RadxaYuntian added a commit to radxa/debos-build-action that referenced this issue Jun 1, 2022
As described in xresloader/upload-to-github-release#34, this action failed to to run Upload step, and between 05/01 and 06/01 there is also a new release for upload-to-github-release. Rolling back to check if this is the cause,
@owent owent self-assigned this Jun 1, 2022
@owent owent added the help wanted Extra attention is needed label Jun 1, 2022
@RadxaYuntian
Copy link
Contributor Author

Rolled back to v1.3.2 since that was used last month. It is having the same issue. Kinda expected since the commits are mostly dependency update. softprops/action-gh-release did not see any update, so I think GitHub changed something and broke this action.

@owent owent added bug Something isn't working and removed help wanted Extra attention is needed labels Jun 1, 2022
owent added a commit that referenced this issue Jun 1, 2022
@owent
Copy link
Member

owent commented Jun 1, 2022

Thanks and could you please try the main branch? I will release a new version if it works.

@RadxaYuntian
Copy link
Contributor Author

Just did a new build. Will report when we have the final result.

@RadxaYuntian
Copy link
Contributor Author

Build succeed with main. Please publish this version asap.

@owent owent closed this as completed in #35 Jun 1, 2022
@owent
Copy link
Member

owent commented Jun 1, 2022

Thanks and published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants