Skip to content

Commit

Permalink
Pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz committed Jun 19, 2022
1 parent 72782ee commit 060b956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Expand Up @@ -190,15 +190,15 @@ async function main() {
archive_format: "zip",
})

fs.mkdirSync(dir, { recursive: true })

if (skipUnpack) {
fs.writeFileSync(`${pathname.join(path, artifact.name)}.zip`, Buffer.from(zip.data), 'binary')
continue
}

const dir = name ? path : pathname.join(path, artifact.name)

fs.mkdirSync(dir, { recursive: true })

const adm = new AdmZip(Buffer.from(zip.data))

core.startGroup(`==> Extracting: ${artifact.name}.zip`)
Expand Down

0 comments on commit 060b956

Please sign in to comment.