From 5e50217ad5b9d9f9a9d22e4b0d8947525a52f0a9 Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Mon, 7 Nov 2022 12:22:16 +1300 Subject: [PATCH] Don't force the directory to exist/into PATH Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> --- index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/index.js b/index.js index 7132507..cfebbb5 100644 --- a/index.js +++ b/index.js @@ -17,12 +17,6 @@ async function downloadRelease(octokit, os, org, repo, release, token) { const extract = os === "windows" ? "tar -xvf" : "tar -xvzf"; const archive = `${tempdir}gotestfmt${postfix}`; - if (os === "windows") { - // Ensure the that the install target exists - fs.mkdirSync(binpath, { recursive: true }) - core.addPath(binpath); - } - // Search through the latest release assets for an install canidate for (let asset of releaseAssets.data) { // Check if the asset name matches the determined postfix