From 939c90d635bf36e92b2fbb28c2d03cf30186c6c4 Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Mon, 7 Nov 2022 11:12:31 +1300 Subject: [PATCH] Explicitly echo bin path into GITHUB_PATH 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 e91b863..8c24c19 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { // Make sure that the install directory is on the PATH if (os === "windows") { - execSync(`"${binpath}" >> $env:GITHUB_PATH`); + execSync(`echo "${binpath}" >> $env:GITHUB_PATH`); } // Search through the latest release assets for an install canidate