mirror of
https://github.com/actions/toolkit.git
synced 2026-08-17 00:00:22 +02:00
Cleanup download-all interfaces
This commit is contained in:
@@ -87,24 +87,7 @@ export interface DownloadArtifactResponse {
|
||||
artifact?: Artifact
|
||||
}
|
||||
|
||||
export interface DownloadAllArtifactsResponse {
|
||||
/**
|
||||
* If the artifact download was successful
|
||||
*/
|
||||
success: boolean
|
||||
|
||||
/**
|
||||
* The cumulative size of all the artifacts that were downloaded
|
||||
*/
|
||||
size: number
|
||||
|
||||
/**
|
||||
* Metadata about the artifact that was downloaded
|
||||
*/
|
||||
artifacts: Artifact[]
|
||||
}
|
||||
|
||||
export interface DownloadSingleArtifactOptions {
|
||||
export interface DownloadArtifactOptions {
|
||||
/**
|
||||
* Denotes where the artifact will be downloaded to. If not specified then the artifact is download to GITHUB_WORKSPACE
|
||||
*/
|
||||
@@ -117,13 +100,6 @@ export interface DownloadSingleArtifactOptions {
|
||||
createArtifactFolder?: boolean
|
||||
}
|
||||
|
||||
export interface DownloadAllArtifactsOptions {
|
||||
/**
|
||||
* Denotes where the artifact will be downloaded to. If not specified then the artifact is download to GITHUB_WORKSPACE
|
||||
*/
|
||||
path?: string
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* *
|
||||
* Shared *
|
||||
|
||||
Reference in New Issue
Block a user