mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Upgrade Node to v20 (#558)
* Build changes * 4.0.0 * node version update * changes * upgrade to v20 * Removing conflicts * Upgrade to v20 in the reusable workflows * Rebased index.js * Removing conflicts * Resolving conflicts * Fomat check * failed checks fix
This commit is contained in:
parent
9eda6b51cc
commit
387ac29b30
44 changed files with 18098 additions and 24439 deletions
|
@ -206,7 +206,9 @@ export class DragonwellDistribution extends JavaBase {
|
|||
return fetchedDragonwellJson;
|
||||
} catch (err) {
|
||||
core.debug(
|
||||
`Fetching Dragonwell versions info from the primary link: ${primaryUrl} ended up with the error: ${err.message}`
|
||||
`Fetching Dragonwell versions info from the primary link: ${primaryUrl} ended up with the error: ${
|
||||
(err as Error).message
|
||||
}`
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
@ -232,7 +234,9 @@ export class DragonwellDistribution extends JavaBase {
|
|||
return fetchedDragonwellJson;
|
||||
} catch (err) {
|
||||
core.debug(
|
||||
`Fetching Dragonwell versions info from the backup url: ${backupUrl} ended up with the error: ${err.message}`
|
||||
`Fetching Dragonwell versions info from the backup url: ${backupUrl} ended up with the error: ${
|
||||
(err as Error).message
|
||||
}`
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ import * as core from '@actions/core';
|
|||
import * as tc from '@actions/tool-cache';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import {ITypedResponse} from '@actions/http-client/interfaces';
|
||||
import {TypedResponse} from '@actions/http-client/lib/interfaces';
|
||||
|
||||
export class MicrosoftDistributions extends JavaBase {
|
||||
constructor(installerOptions: JavaInstallerOptions) {
|
||||
|
@ -99,7 +99,7 @@ export class MicrosoftDistributions extends JavaBase {
|
|||
|
||||
const headers = getGitHubHttpHeaders();
|
||||
|
||||
let response: ITypedResponse<tc.IToolRelease[]> | null = null;
|
||||
let response: TypedResponse<tc.IToolRelease[]> | null = null;
|
||||
|
||||
if (core.isDebug()) {
|
||||
console.time('Retrieving available versions for Microsoft took'); // eslint-disable-line no-console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue