mirror of
https://github.com/actions/toolkit
synced 2025-05-11 01:22:57 +00:00
Check the right variables (#35)
This commit is contained in:
parent
2a2b51f939
commit
5218a83722
2 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue