Skip to content

Commit c0655dd

Browse files
stephenmichaelfDanny McCormick
authored andcommitted
Fix build. (#11)
* Fix. * Husky commit correct node modules * update temp in installer
1 parent 596a6da commit c0655dd

File tree

22 files changed

+392
-325
lines changed

22 files changed

+392
-325
lines changed

__tests__/installer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const toolDir = path.join(__dirname, 'runner', 'tools');
77
const tempDir = path.join(__dirname, 'runner', 'temp');
88
const javaDir = path.join(__dirname, 'runner', 'java');
99

10-
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
11-
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
10+
process.env['RUNNER_TOOL_CACHE'] = toolDir;
11+
process.env['RUNNER_TEMP'] = tempDir;
1212
import * as installer from '../src/installer';
1313

1414
let javaFilePath = '';

lib/installer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
1515
return result;
1616
};
1717
Object.defineProperty(exports, "__esModule", { value: true });
18-
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
18+
let tempDirectory = process.env['RUNNER_TEMP'] || '';
1919
const core = __importStar(require("@actions/core"));
2020
const io = __importStar(require("@actions/io"));
2121
const exec = __importStar(require("@actions/exec"));

node_modules/.bin/semver

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/semver.cmd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/package.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/exec/package.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/io/package.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/tool-cache/lib/tool-cache.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/tool-cache/lib/tool-cache.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/tool-cache/package.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)