downloadArtifact
open override fun downloadArtifact(artifactId: Number, options: DownloadArtifactOptions): Promise<DownloadArtifactResponse>(source)
Downloads an artifact and unzips the content.
If options.findBy
is specified, this will use the public Download Artifact API https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#download-an-artifact
Parameters
artifactId
The id of the artifact to download
options
Extra options that allow for the customization of the download behavior