From fddee393fc93043b52aa71c350800ec9c9c2c07b Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 16 Sep 2019 01:53:34 +0900 Subject: [PATCH] fix: path to extract --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dd4723e..1895428 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ async function run() { core.debug('hugoURL:', hugoURL); const hugoTarball = await tc.downloadTool(hugoURL); - const hugoExtractedFolder = await tc.extractTar(hugoTarball, '/tmp/hugo'); + const hugoExtractedFolder = await tc.extractTar(hugoTarball, '/tmp'); core.debug('hugoExtractedFolder:', hugoExtractedFolder); await io.mv(`${hugoExtractedFolder}/hugo`, '/usr/local/bin/'); }