mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-03-15 16:22:35 +08:00
Check the right variables (#35)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user