DefaultArtifactClient

Functions

Link copied to clipboard
open override fun deleteArtifact(artifactName: String, options: FindOptions): ERROR CLASS: Symbol not found for Promise<actions/artifact/DeleteArtifactResponse>

Delete an Artifact

Link copied to clipboard
open override fun downloadArtifact(artifactId: Number, options: DownloadArtifactOptions): ERROR CLASS: Symbol not found for Promise<actions/artifact/DownloadArtifactResponse>

Downloads an artifact and unzips the content.

Link copied to clipboard
open override fun getArtifact(artifactName: String, options: FindOptions): ERROR CLASS: Symbol not found for Promise<actions/artifact/GetArtifactResponse>

Finds an artifact by name. If there are multiple artifacts with the same name in the same workflow run, this will return the latest. If the artifact is not found, it will throw.

Link copied to clipboard
open override fun listArtifacts(options: ListArtifactsOptions): ERROR CLASS: Symbol not found for Promise<actions/artifact/ListArtifactsResponse>

Lists all artifacts that are part of the current workflow run. This function will return at most 1000 artifacts per workflow run.

Link copied to clipboard
open override fun uploadArtifact(name: String, files: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/String>, rootDirectory: String, options: UploadArtifactOptions): ERROR CLASS: Symbol not found for Promise<actions/artifact/UploadArtifactResponse>

Uploads an artifact.