antelopeio/Asset & Artifact Downloader
Downloads a release asset, file in Docker container, or artifact from a workflow run based on branch or sha
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | — | yes | — |
| repo | — | yes | — |
| file | A regex of which the first file found is downloaded | yes | — |
| target | A semver range matched to releases, or branch name, or sha | yes | — |
| prereleases | Whether or not to include prerelease versions when treating target as a release version | — | false |
| container-package | If defined, target treated a release, and no asset found, look in a container package named this with release tag | — | — |
| artifact-name | When target is a branch or sha, the artifact name to look for the file in | — | — |
| token | — | yes | ${{github.token}} |
| fail-on-missing-target | Whether to fail the step if target release file or artifact-name is not found | yes | true |
| wait-for-exact-target | When target is a branch or sha, whether to wait up for workflow to complete on exact target or try parents | yes | false |
Outputs
| name | description |
|---|---|
| downloaded-file | The name of the downloaded file, or empty string if failure |