xresloader/upload-to-github-release

Unable to upload asset to existing release

Closed this issue · 5 comments

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.

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 commented

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

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

Build succeed with main. Please publish this version asap.

owent commented

Thanks and published.