From f66aac333ecf21d830193b63d202aa3d83605ad9 Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Mon, 7 Nov 2022 12:33:55 +1300 Subject: [PATCH] Create all path components Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 179d1fb..7f63c4c 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { const archive = `${tempdir}gotestfmt${postfix}`; if (os === "windows") { - fs.mkdirSync(binpath) + fs.mkdirSync(binpath, { recursive: true }) execSync(`echo "${binpath}" >> ${process.env.GITHUB_PATH}`) }