From 8937ff8fd70f5324fe5ece73a9843b090d639e67 Mon Sep 17 00:00:00 2001 From: Janos <86970079+janosdebugs@users.noreply.github.com> Date: Wed, 28 Jul 2021 09:16:11 +0200 Subject: [PATCH] More testing --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 336e0fc..a39b9c6 100644 --- a/index.js +++ b/index.js @@ -14,9 +14,9 @@ async function downloadRelease(octokit, org, repo, release, token) { if (asset.name.endsWith("_linux_amd64.tar.gz")) { console.log("Found Linux binary named " + asset.name + " at " + asset.browser_download_url + " , attempting download...") if (token) { - execSync("curl -o /tmp/gotestfmt.tar.gz -H \"Authorization: Bearer " + token + "\" " + asset.browser_download_url) + execSync("curl -L -o /tmp/gotestfmt.tar.gz -H \"Authorization: Bearer " + token + "\" " + asset.browser_download_url) } else { - execSync("curl -o /tmp/gotestfmt.tar.gz " + asset.browser_download_url) + execSync("curl -L -o /tmp/gotestfmt.tar.gz " + asset.browser_download_url) } console.log("Creating /usr/local/lib/gotestfmt directory...") execSync("sudo mkdir -p /usr/local/lib/gotestfmt")