remove folder option in favor of path

This commit is contained in:
Bethany committed 2023-08-23 07:21:01 -07:00
1 parent d0cf96f319
commit 68fb6c17d5
2 files changed
-9

No files matched your search

@@ -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(