diff --git a/lib/installer.js b/lib/installer.js index 8fd3a272..5f068a15 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -15,7 +15,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''; +let tempDirectory = process.env['RUNNER_TEMP'] || ''; const core = __importStar(require("@actions/core")); const io = __importStar(require("@actions/io")); const exec = __importStar(require("@actions/exec")); diff --git a/src/installer.ts b/src/installer.ts index a9b5f4f9..646f552d 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -1,4 +1,4 @@ -let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || ''; +let tempDirectory = process.env['RUNNER_TEMP'] || ''; import * as core from '@actions/core'; import * as io from '@actions/io';