actions / upload-artifact

MIT License
3.26k stars 739 forks source link

Support artifact-url output #496

Closed konradpabjan closed 10 months ago

konradpabjan commented 10 months ago

Supports https://github.com/actions/upload-artifact/issues/50 👈 Will close out once we get a new release out

Each artifact from the run summary page has a URL that uses the artifact ID and run ID (this was recently changed where previously the check suite ID of the workflow run was used in the URL). With v4 artifacts all the necessary information that is needed to construct a download URL is now all available so we can output it.

image

The same URL that can be seen in ☝️ is what users can now use to embed in PRs or comments or a host of other scenarios.

Users can always build the URL themselves using the artifact ID now and some ENV variables, but an official output just makes it easier and folks have been asking for this for a long time.