robinraju/release-downloader
Download release assets from private or public github repositories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The source repository path. Expected format {owner}/{repo} | no | ${{ github.repository }} |
| latest | A flag to choose between latest release and remaining releases | no | false |
| preRelease | A flag to download from prerelease. It should be combined with latest flag | no | false |
| tag | The github tag to download the release from | no | "" |
| fileName | Name of the file to download (use '*' to download all assets other than tarball or zipball) | no | "" |
| tarBall | Download tarball from assets | no | false |
| zipBall | Download zipball from assets | no | false |
| out-file-path | Relative path under $GITHUB_WORKSPACE to place the downloaded files | no | . |
| extract | If the downloaded assets should be extracted. Supports tar, tar.gz and zip | no | false |
| extract-path | Path where downloaded assets should be extracted. Defaults to `out-file-path` if not set. | no | "" |
| token | Github token to access private repos | no | ${{ github.token }} |
| github-api-url | The URL of the Github API, only use this input if you are using Github Enterprise | no | https://api.github.com |
| releaseId | The release id to download the file from | no | "" |
Outputs
| name | description |
|---|---|
| tag_name | The github tag used to download the release |
| release_name | The release name / title |
| downloaded_files | The array of downloaded files, useful when using wildcard '*' to download multiple files. |