Skip to content

Delete Artifacts using @actions/artifact #380

@konradpabjan

Description

@konradpabjan

It is currently possible to delete an artifact that is associated with a workflow run using the GitHub API: https://developer.github.com/v3/actions/artifacts/#delete-an-artifact

This API is limited though because an artifact is not available until after a run is complete

The @actions/artifact package should add a public deleteArtifact() method that will allow users to delete an artifact during a run

This will make it easier to support certain types types of scenarios such as retention

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions