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
This commit is contained in:
Lee Chechik 2020-04-29 10:44:51 +03:00 committed by GitHub
parent 1de1dea89c
commit 8a017e9f5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ async function run(): Promise<void> {
} else {
// download a single artifact
const downloadOptions = {
createArtifactFolder: false
createArtifactFolder: true
}
const downloadResponse = await artifactClient.downloadArtifact(
name,