[Artifacts] Name validation + zip specification creation (#1482)

* Artifact name validation + zip specification creation

* Fix linting issues

* Grammar fix

* Update test description
This commit is contained in:
Konrad Pabjan
2023-08-04 09:53:42 -04:00
committed by GitHub
parent 2461056696
commit 7da3ac6eda
6 changed files with 620 additions and 8 deletions

View File

@@ -1,11 +1,17 @@
export interface UploadResponse {
/**
* The name of the artifact that was uploaded
* Denotes if an artifact was successfully uploaded
*/
artifactName: string
success: boolean
/**
* Total size of the artifact that was uploaded in bytes
* Total size of the artifact in bytes. Not provided if no artifact was uploaded
*/
size: number
size?: number
/**
* The id of the artifact that was created. Not provided if no artifact was uploaded
* This ID can be used as input to other APIs to download, delete or get more information about an artifact: https://docs.github.com/en/rest/actions/artifacts
*/
id?: number
}