mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 04:23:41 +08:00
Use options to specify download folder
This commit is contained in:
@@ -93,10 +93,10 @@ export interface DownloadArtifactOptions {
|
||||
path?: string
|
||||
|
||||
/**
|
||||
* Specifies if a root folder with the artifact name is created for the artifact that is downloaded
|
||||
* Zip contents are expanded into this folder. Defaults to false if not specified
|
||||
* Specifies if a root folder with the given name is created for the artifact that is downloaded
|
||||
* Zip contents are expanded into this folder. A folder will not be created if not specified.
|
||||
* */
|
||||
createArtifactFolder?: boolean
|
||||
createArtifactFolderName?: string
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user