-
-
Notifications
You must be signed in to change notification settings - Fork 567
Description
Summary
This action has started to return invalid URLs in the output assets of the step, like this: https://github.com/exampleOrg/exampleProject/releases/download/untagged-[random-hex-characters]/ReleaseAsset.zip instead of https://github.com/exampleOrg/exampleProject/releases/download/v1.0.0/ReleaseAsset.zip.
Hypothesis
I haven't been able to thoroughly test it, but I believe this is because of the changes in v2.5.0. If I understand correctly, now the releases are always created as a draft first, and then set to published at the end of the action. However, with the new changes the output assets with the download URL is still set before the finalization while the release is still a draft. This means the action's output returns a URL that is no longer valid since it was for the old untagged draft state.