Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Undocumented input parameters #50

Open
Bilge opened this issue Jun 11, 2020 · 3 comments
Open

Undocumented input parameters #50

Bilge opened this issue Jun 11, 2020 · 3 comments

Comments

@Bilge
Copy link

Bilge commented Jun 11, 2020

The only documented input parameter is upload_url, but the example also specifies asset_path, asset_name and asset_content_type. Where do these come from and how can they possibly be valid if they don't exist as part of the action or the underlying API?

@weibeld
Copy link

weibeld commented Jul 15, 2020

Furthermore, all of these undocumented input parameters (asset_path, asset_name, and asset_content_type) are required. If you don't specify them in the with clause, you get an error such as the following during the run:

##[error]Input required and not supplied: asset_content_type

So, it would be really good to document these parameters.

@xeruf
Copy link

xeruf commented Sep 18, 2020

furthermore, asset_name should simply default to the name of the input file?

@litetex
Copy link

litetex commented Oct 14, 2020

More detailed descriptions are also available in the action.yml: https://github.com/actions/upload-release-asset/blob/main/action.yml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants