stryd/fetch-release-asset
Fetch an asset file from a private repo release
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| access_token | A GitHub API access token, with repo & read:package permissions granted and access to the repo name provided in the dependency parameter | yes | — |
| repo | The GitHub repo to fetch the asset from. Should be in the form `owner/repo` | yes | — |
| version | The release version for which to find an asset | yes | — |
| asset_name | The filename name of the saved release artifact to copy | yes | — |
| save_as | The file path to save the asset file to. Defaults to `__dirname/${asset_name} | — | — |
Outputs
| name | description |
|---|---|
| location | The location of the saved asset |