actions / upload-release-asset

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

Add 'asset_label' support #77

Open yookoala opened 3 years ago

yookoala commented 3 years ago

Support customized asset label (optional). Allow user to have a human readable asset name other than the filename itself.

Maps to the optional label parameter of the API: https://docs.github.com/en/rest/reference/repos#upload-a-release-asset

If an asset_label is not provided, the API request will not have the label parameter. The change is therefore backward-compatible.