Check the right variables (#35)

This commit is contained in:
Danny McCormick
2019-07-30 12:31:36 -04:00
committed by GitHub
parent 2a2b51f939
commit 5218a83722
2 changed files with 4 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ import * as exec from '@actions/exec'
const cachePath = path.join(__dirname, 'CACHE')
const tempPath = path.join(__dirname, 'TEMP')
// Set temp and tool directories before importing (used to set global state)
process.env['RUNNER_TEMPDIRECTORY'] = tempPath
process.env['RUNNER_TOOLSDIRECTORY'] = cachePath
process.env['RUNNER_TEMP'] = tempPath
process.env['RUNNER_TOOL_CACHE'] = cachePath
// eslint-disable-next-line import/first
import * as tc from '../src/tool-cache'