remove folder option in favor of path

This commit is contained in:
Bethany
2023-08-23 07:21:01 -07:00
parent ced07aa89c
commit b4f8e602b2
2 changed files with 0 additions and 9 deletions

View File

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