sunwavehealth/Download workflow artifact
Download and extract an artifact associated with given workflow and commit or other criteria
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token | no | ${{ github.token }} |
| workflow | Workflow name. If not specified, will be inferred from run_id (if run_id is specified), or will be the current workflow | no | — |
| 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 | false |
| search_artifacts | Search workflow runs for artifact with specified name | no | false |
| skip_unpack | Choose to skip unpacking the downloaded artifact(s) | no | false |
| dry_run | Check the existence of artifact(s) without downloading | no | — |
| if_no_artifact_found | Choose how to exit the action if no artifact is found fail, warn or ignore | no | fail |
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 |
| found_artifact | Boolean output which is true if the artifact was found and false otherwise |
| artifacts | JSON array with details about found artifacts |