From ea9ac7fd9e22036506869edea7c7ecc84a621f7c Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Mon, 7 Nov 2022 11:01:04 +1300 Subject: [PATCH] Fix os check 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 9186f03..2516f8e 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) { const extract = os === "windows" ? "tar -xvf" : "tar -xvzf"; const archive = `${tempdir}${pathsep}gotestfmt${postfix}`; - if (os === windows) { + if (os === "windows") { execSync(`"${binpath}" >> $env:GITHUB_PATH`); }