From 4b10486d64c774fead66858b1898a5a4485ffd73 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 30 Jul 2019 12:17:16 -0400 Subject: [PATCH] Update tool-cache.js --- node_modules/@actions/tool-cache/lib/tool-cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_modules/@actions/tool-cache/lib/tool-cache.js b/node_modules/@actions/tool-cache/lib/tool-cache.js index 863886c4..b2dc2e4c 100644 --- a/node_modules/@actions/tool-cache/lib/tool-cache.js +++ b/node_modules/@actions/tool-cache/lib/tool-cache.js @@ -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) {