mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 01:11:00 +00:00
Update tool-cache.js
This commit is contained in:
parent
8db9cac808
commit
4b10486d64
1 changed files with 1 additions and 1 deletions
2
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
2
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
|
@ -30,7 +30,7 @@ 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 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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue