actions / upload-release-asset

An Action to upload a release asset via the GitHub Release API
MIT License
688 stars 189 forks source link

Add a single release asset url to outputs #30

Open superbrothers opened 4 years ago

superbrothers commented 4 years ago

I'd like to use a single release asset url in the following steps.

diff --git a/action.yml b/action.yml
index 3b4ddb4..fa4a3b5 100644
--- a/action.yml
+++ b/action.yml
@@ -15,6 +15,8 @@ inputs:
     description: 'The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information'
     required: true
 outputs:
+  url:
+    description: 'The URL of the uploaded asset'
   browser_download_url:
     description: 'The URL users can navigate to in order to download the uploaded asset'
 runs: