From 8a017e9f5e89dce2e76101b2379c219b896f9597 Mon Sep 17 00:00:00 2001 From: Lee Chechik <48071902+leechechik@users.noreply.github.com> Date: Wed, 29 Apr 2020 10:44:51 +0300 Subject: [PATCH] Download artifact relative to root folder The new version (V2) breaks existing workflows because it changed its default behavior of downloading artifact relative to the root folder. This PR should fix this issue and it is compatible with version 1.0.0. Closes #30 --- src/download-artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download-artifact.ts b/src/download-artifact.ts index 1721d2f..0730b6d 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -20,7 +20,7 @@ async function run(): Promise { } else { // download a single artifact const downloadOptions = { - createArtifactFolder: false + createArtifactFolder: true } const downloadResponse = await artifactClient.downloadArtifact( name,