@actions/artifact download artifacts (#340)

* Download Artifacts using @actions/artifact
This commit is contained in:
Konrad Pabjan
2020-02-13 18:24:11 -05:00
committed by GitHub
parent 84f1e31b69
commit f383109dc3
13 changed files with 1416 additions and 18 deletions
@@ -31,3 +31,32 @@ export interface UploadResults {
size: number
failedItems: string[]
}
export interface ListArtifactsResponse {
count: number
value: ArtifactResponse[]
}
export interface QueryArtifactResponse {
count: number
value: ContainerEntry[]
}
export interface ContainerEntry {
containerId: number
scopeIdentifier: string
path: string
itemType: string
status: string
fileLength?: number
fileEncoding?: number
fileType?: number
dateCreated: string
dateLastModified: string
createdBy: string
lastModifiedBy: string
itemLocation: string
contentLocation: string
fileId?: number
contentId: string
}