1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-go synced 2025-06-11 04:52:25 +02:00

Fix build. (#7)

* Fix.

* Husky commit correct node modules
This commit is contained in:
Stephen Franceschelli 2019-07-30 13:37:35 -04:00 committed by Danny McCormick
parent ffce9ce43f
commit 136ed85710
19 changed files with 453 additions and 462 deletions

View file

@ -29,8 +29,8 @@ exports.HTTPError = HTTPError;
const IS_WINDOWS = process.platform === 'win32';
const userAgent = 'actions/tool-cache';
// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || '';
let tempDirectory = process.env['RUNNER_TEMP'] || '';
let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || '';
// If directories not found, place them in common temp locations
if (!tempDirectory || !cacheRoot) {
let baseLocation;