File tree 2 files changed +3
-9
lines changed
2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -65338,17 +65338,15 @@ function resolveVersionInput() {
65338
65338
return version;
65339
65339
}
65340
65340
function run() {
65341
- var _a, _b ;
65341
+ var _a;
65342
65342
return __awaiter(this, void 0, void 0, function* () {
65343
65343
if (utils_1.IS_MAC) {
65344
65344
process.env['AGENT_TOOLSDIRECTORY'] = '/Users/runner/hostedtoolcache';
65345
65345
}
65346
65346
if ((_a = process.env.AGENT_TOOLSDIRECTORY) === null || _a === void 0 ? void 0 : _a.trim()) {
65347
65347
process.env['RUNNER_TOOL_CACHE'] = process.env['AGENT_TOOLSDIRECTORY'];
65348
65348
}
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']}`);
65352
65350
try {
65353
65351
const version = resolveVersionInput();
65354
65352
const checkLatest = core.getBooleanInput('check-latest');
Original file line number Diff line number Diff line change @@ -72,11 +72,7 @@ async function run() {
72
72
}
73
73
74
74
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' ] } `
80
76
) ;
81
77
try {
82
78
const version = resolveVersionInput ( ) ;
You can’t perform that action at this time.
0 commit comments