upload-release-action
upload-release-action copied to clipboard
Couldn't create release (Error: Validation Failed)
Once I've got: Error: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
with matrix strategy (source). I resolved it by rerunning CI job.
I assume that Validation Failed
class errors comes directly from GitHub API in form of response with status 422 (in my case from releases endpoint). And I think that this is a race caused by multiple uploading in parallel.
I don't know how to reproduce it, but I think it is possible to ignore 422 responses with already_exists
code from any create requests (error messages are standarized).