mirror of
https://github.com/status-im/actions-hugo.git
synced 2025-01-11 13:24:10 +00:00
refactor: Add process.env.HOME (#27)
This commit is contained in:
parent
624c2a083b
commit
85171ece4e
2
index.js
2
index.js
@ -29,7 +29,7 @@ async function run() {
|
||||
const hugoURL = `https://github.com/gohugoio/hugo/releases/download/v${hugoVersion}/${hugoName}.tar.gz`;
|
||||
core.debug(`hugoURL: ${hugoURL}`);
|
||||
|
||||
const hugoPath = "/home/runner/bin";
|
||||
const hugoPath = `${process.env.HOME}/bin`;
|
||||
await io.mkdirP(hugoPath);
|
||||
core.addPath(hugoPath);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user