deleteArtifact

abstract fun deleteArtifact(artifactName: String, options: FindOptions = definedExternally): Promise<DeleteArtifactResponse>(source)

Delete an Artifact

If options.findBy is specified, this will use the public Delete Artifact API https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#delete-an-artifact

Parameters

artifactName

The name of the artifact to delete

options

Extra options that allow for the customization of the delete behavior