From 3d326f1ed5b7bd2d30477f523bedeabd3371b19e Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Sat, 14 Dec 2019 16:18:19 -0800 Subject: [PATCH] RUNNER_TEMP --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index e12ed4e..b927b21 100644 --- a/dist/index.js +++ b/dist/index.js @@ -57,7 +57,7 @@ const core = __webpack_require__(470); const fs = __webpack_require__(747); // get input parameter values from config -var fileName = process.env.TMP + '\\' + core.getInput('fileName'); +var fileName = process.env.RUNNER_TEMP + '\\' + core.getInput('fileName'); var encodedString = core.getInput('encodedString'); // most @actions toolkit packages have async methods diff --git a/index.js b/index.js index 75bc693..a88db8d 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ const core = require('@actions/core'); const fs = require('fs'); // get input parameter values from config -var fileName = process.env.TMP + '\\' + core.getInput('fileName'); +var fileName = process.env.RUNNER_TEMP + '\\' + core.getInput('fileName'); var encodedString = core.getInput('encodedString'); // most @actions toolkit packages have async methods