mirror of https://github.com/actions/toolkit
Cleanup
parent
d321d78c4b
commit
68ccf88d4e
|
@ -85,8 +85,6 @@ The returned `UploadResponse` will contain the following information
|
||||||
|
|
||||||
- `artifactName`
|
- `artifactName`
|
||||||
- The name of the artifact that was uploaded
|
- The name of the artifact that was uploaded
|
||||||
- `artifactItems`
|
|
||||||
- A list of all files that describe what is uploaded if there are no errors encountered. Usually this will be equal to the inputted `files` with the exception of empty directories (will not be uploaded)
|
|
||||||
- `size`
|
- `size`
|
||||||
- Total size of the artifact that was uploaded in bytes
|
- Total size of the artifact that was uploaded in bytes
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@protobuf-ts/plugin": "^2.2.3-alpha.1",
|
"@protobuf-ts/plugin": "^2.2.3-alpha.1",
|
||||||
"@types/tmp": "^0.2.1",
|
|
||||||
"twirp-ts": "^2.5.0",
|
"twirp-ts": "^2.5.0",
|
||||||
"typescript": "^3.9.10"
|
"typescript": "^3.9.10"
|
||||||
}
|
}
|
||||||
|
@ -86,12 +85,6 @@
|
||||||
"@protobuf-ts/runtime": "^2.9.1"
|
"@protobuf-ts/runtime": "^2.9.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/tmp": {
|
|
||||||
"version": "0.2.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.3.tgz",
|
|
||||||
"integrity": "sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/balanced-match": {
|
"node_modules/balanced-match": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||||
|
@ -426,12 +419,6 @@
|
||||||
"@protobuf-ts/runtime": "^2.9.1"
|
"@protobuf-ts/runtime": "^2.9.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/tmp": {
|
|
||||||
"version": "0.2.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.3.tgz",
|
|
||||||
"integrity": "sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"balanced-match": {
|
"balanced-match": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@protobuf-ts/plugin": "^2.2.3-alpha.1",
|
"@protobuf-ts/plugin": "^2.2.3-alpha.1",
|
||||||
"@types/tmp": "^0.2.1",
|
|
||||||
"twirp-ts": "^2.5.0",
|
"twirp-ts": "^2.5.0",
|
||||||
"typescript": "^3.9.10"
|
"typescript": "^3.9.10"
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@ export async function uploadArtifact(
|
||||||
|
|
||||||
const uploadResponse: UploadResponse = {
|
const uploadResponse: UploadResponse = {
|
||||||
artifactName: name,
|
artifactName: name,
|
||||||
artifactItems: [],
|
|
||||||
size: 0
|
size: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,4 @@ export interface UploadResponse {
|
||||||
* Total size of the artifact in bytes that was uploaded
|
* Total size of the artifact in bytes that was uploaded
|
||||||
*/
|
*/
|
||||||
size: number
|
size: number
|
||||||
|
|
||||||
/**
|
|
||||||
* A list of items that were uploaded as part of the artifact
|
|
||||||
*/
|
|
||||||
artifactItems: string[]
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue