File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -65338,17 +65338,15 @@ function resolveVersionInput() {
6533865338 return version;
6533965339}
6534065340function run() {
65341- var _a, _b ;
65341+ var _a;
6534265342 return __awaiter(this, void 0, void 0, function* () {
6534365343 if (utils_1.IS_MAC) {
6534465344 process.env['AGENT_TOOLSDIRECTORY'] = '/Users/runner/hostedtoolcache';
6534565345 }
6534665346 if ((_a = process.env.AGENT_TOOLSDIRECTORY) === null || _a === void 0 ? void 0 : _a.trim()) {
6534765347 process.env['RUNNER_TOOL_CACHE'] = process.env['AGENT_TOOLSDIRECTORY'];
6534865348 }
65349- core.debug(`Python is expected to be installed into ${((_b = process.env.AGENT_TOOLSDIRECTORY) === null || _b === void 0 ? void 0 : _b.trim())
65350- ? process.env['AGENT_TOOLSDIRECTORY']
65351- : process.env['RUNNER_TOOL_CACHE']}`);
65349+ core.debug(`Python is expected to be installed into ${process.env['RUNNER_TOOL_CACHE']}`);
6535265350 try {
6535365351 const version = resolveVersionInput();
6535465352 const checkLatest = core.getBooleanInput('check-latest');
Original file line number Diff line number Diff line change @@ -72,11 +72,7 @@ async function run() {
7272 }
7373
7474 core . debug (
75- `Python is expected to be installed into ${
76- process . env . AGENT_TOOLSDIRECTORY ?. trim ( )
77- ? process . env [ 'AGENT_TOOLSDIRECTORY' ]
78- : process . env [ 'RUNNER_TOOL_CACHE' ]
79- } `
75+ `Python is expected to be installed into ${ process . env [ 'RUNNER_TOOL_CACHE' ] } `
8076 ) ;
8177 try {
8278 const version = resolveVersionInput ( ) ;
You can’t perform that action at this time.
0 commit comments