-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Uploading artifacts to existing tag/release #403
Comments
If I understand the concept correctly, it should be triggered only once per each TAG. |
Agree in general. But in my case, I have a few workflows, that build artifacts, and all of them should be attached to the same GitHub release. |
I am also interested in the development of this, in my use case I have https://github.com/release-drafter/release-drafter which generates a draft release and tag with change-log and manages version resolution based on branch/label rules, follow by a custom workflow which will generate assets upon the publication of the tag & release which I would like to ideally attach assets to |
Either I'm missing something basic, or there is a weird bug.
When I'm using this code in my workflow and triggering workflow using 'release create' event, action works nice:
But if I'm calling my workflow in another way [i.e. via push event or with workflow_call] and providing tag_name, it fails with "resource":"Release","code":"already_exists","field":"tag_name".
In both cases, Github tag and release already existed before I called my workflow. So why in the first case it worked, and in another case failed?
Any idea how to explain that?
Thanks, Vitaly
The text was updated successfully, but these errors were encountered: