actions-marketplace-validations/Download workflow artifact (@qiwi)
Download and extract an artifact associated with given workflow and commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token | no | ${{github.token}} |
| workflow | Workflow name | yes | — |
| workflow_conclusion | Wanted status or conclusion to search for in recent runs https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#list-workflow-runs | no | success |
| repo | Repository name with owner (like actions/checkout) | no | ${{github.repository}} |
| pr | Pull request number | no | — |
| commit | Commit hash | no | — |
| branch | Branch name | no | — |
| event | Event type | no | — |
| run_id | Workflow run id | no | — |
| run_number | Workflow run number | no | — |
| name | Artifact name (download all artifacts if not specified) | no | — |
| path | Where to unpack the artifact | no | ./ |
| check_artifacts | Check workflow run whether it has an artifact | no | — |
| search_artifacts | Search workflow runs for artifact with specified name | no | — |
| search_depth | Limit search depth. 0 means no limit. Default is 0. | no | — |
| skip_unpack | Choose to skip unpacking the downloaded artifact(s) | no | — |
| dry_run | Check the existence of artifact(s) without downloading. | no | — |
| nothrow | Do not throw an error if artifact(s) not found. | no | — |
Outputs
| name | description |
|---|---|
| error_message | The error message, if an error occurs |
| dry_run | Boolean output which is true if the dry run was successful and false otherwise. |
| artifact_length | The length of the found artifacts array. |
| artifact_hit | Boolean output which is true if the artifact(s) was found and false otherwise. |