From 85171ece4efa6593970a5b5f3bdcc67ee4eba614 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Tue, 17 Sep 2019 23:20:28 +0900 Subject: [PATCH] refactor: Add process.env.HOME (#27) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 27b7057..814b6c7 100644 --- a/index.js +++ b/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);