joutvhu/Delete Build Artifact
Delete a build artifact that was previously uploaded in the workflow by the upload-artifact action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | The name of the owner of the repo, this is the repository that artifacts will be deleted from. Default is current owner. | no | — |
| repo | The name of the repository, this is the repository that artifacts will be deleted from. Default is current repository. | no | — |
| run-id | The id of the workflow run where the desired delete artifact was uploaded from. If github-token is specified, this is the run that artifacts will be deleted from. | no | — |
| token | The GitHub token used to authenticate with the GitHub API. This is required when deleting artifacts from a different repository or from a different workflow run. If this is not specified, the action will attempt to delete artifacts from the current repository and the current workflow run. | no | — |
| latest | Filter the workflow run's artifacts to the latest by name In the case of reruns, this can be useful to avoid duplicates | no | — |
| name | The name of the artifact to delete, multiple names can be supplied on new lines. | no | — |
| pattern | A glob pattern matching the artifacts that should be deleted. Ignored if name is specified. | no | — |
Outputs
no outputs