fix: path to extract
This commit is contained in:
parent
0606233eb3
commit
fddee393fc
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -42,7 +42,7 @@ async function run() {
|
||||||
core.debug('hugoURL:', hugoURL);
|
core.debug('hugoURL:', hugoURL);
|
||||||
|
|
||||||
const hugoTarball = await tc.downloadTool(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);
|
core.debug('hugoExtractedFolder:', hugoExtractedFolder);
|
||||||
await io.mv(`${hugoExtractedFolder}/hugo`, '/usr/local/bin/');
|
await io.mv(`${hugoExtractedFolder}/hugo`, '/usr/local/bin/');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue