mirror of
https://github.com/actions/setup-java.git
synced 2025-04-22 02:46:46 +00:00
Fix build. (#11)
* Fix. * Husky commit correct node modules * update temp in installer
This commit is contained in:
parent
596a6da241
commit
c0655ddd33
22 changed files with 390 additions and 323 deletions
4
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
4
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
|
@ -29,8 +29,8 @@ exports.HTTPError = HTTPError;
|
|||
const IS_WINDOWS = process.platform === 'win32';
|
||||
const userAgent = 'actions/tool-cache';
|
||||
// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
|
||||
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
|
||||
let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || '';
|
||||
let tempDirectory = process.env['RUNNER_TEMP'] || '';
|
||||
let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || '';
|
||||
// If directories not found, place them in common temp locations
|
||||
if (!tempDirectory || !cacheRoot) {
|
||||
let baseLocation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue