Skip to content

Invalid download URL in output after version 2.5.0 #713

@marcusball

Description

@marcusball

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions