mirror of
https://github.com/actions/toolkit.git
synced 2026-08-21 00:00:16 +02: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