mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-16 19:08:04 +08:00
remove folder option in favor of path
This commit is contained in:
@@ -56,9 +56,6 @@ export async function downloadArtifact(
|
||||
options?: DownloadArtifactOptions
|
||||
): Promise<DownloadArtifactResponse> {
|
||||
let downloadPath = options?.path || getGitHubWorkspaceDir()
|
||||
if (options?.createArtifactFolderName) {
|
||||
downloadPath = path.join(downloadPath, options?.createArtifactFolderName)
|
||||
}
|
||||
|
||||
if (!(await exists(downloadPath))) {
|
||||
core.debug(
|
||||
|
||||
Reference in New Issue
Block a user