mknejp/Delete Release Assets
GitHub action for deleting assets from a GitHub release.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The name of the tag. This uniquely identifies the release. May either be a tag name directly (like `v1.0.0`) or a tag ref (like `refs/tags/v1.0.0` as is provided by `github.ref` or `GITHUB_REF`). | yes | — |
| fail-if-no-release | Fail the action if no release associated with the given tag was found (default `true`). | no | true |
| fail-if-no-assets | Fail the action if the release contains no matching assets (default `true`). | no | true |
| assets | Newline-delimited globs of asset names to delete from the release. | yes | — |
| token | The token for authenticating against the GitHub API. | yes | — |
| repository | Repository to delete assets in format `owner/repo` (default current repository). | no | "" |
Outputs
| name | description |
|---|---|
| deleted-assets | Semicolon-delimited list of deleted asset names (for example `file1.txt;file2.zip`). |
| release_id | The unique ID of the github release from which the assets were deleted. |