1
0
Fork 0
mirror of https://github.com/actions/setup-java.git synced 2024-08-16 10:19:51 +02:00

Fix typos on Corretto (#665) (#666)

This commit is contained in:
John Jiang 2024-08-09 01:07:49 +08:00 committed by GitHub
parent 6a0805fcef
commit 67fbd726da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

4
dist/setup/index.js vendored
View file

@ -123961,7 +123961,7 @@ class CorrettoDistribution extends base_installer_1.JavaBase {
const arch = this.distributionArchitecture(); const arch = this.distributionArchitecture();
const imageType = this.packageType; const imageType = this.packageType;
if (core.isDebug()) { if (core.isDebug()) {
console.time('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.time('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
} }
const availableVersionsUrl = 'https://corretto.github.io/corretto-downloads/latest_links/indexmap_with_checksum.json'; const availableVersionsUrl = 'https://corretto.github.io/corretto-downloads/latest_links/indexmap_with_checksum.json';
const fetchCurrentVersions = yield this.http.getJson(availableVersionsUrl); const fetchCurrentVersions = yield this.http.getJson(availableVersionsUrl);
@ -123973,7 +123973,7 @@ class CorrettoDistribution extends base_installer_1.JavaBase {
const availableVersions = this.getAvailableVersionsForPlatform(eligibleVersions); const availableVersions = this.getAvailableVersionsForPlatform(eligibleVersions);
if (core.isDebug()) { if (core.isDebug()) {
core.startGroup('Print information about available versions'); core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.timeEnd('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
core.debug(`Available versions: [${availableVersions.length}]`); core.debug(`Available versions: [${availableVersions.length}]`);
core.debug(availableVersions core.debug(availableVersions
.map(item => `${item.version}: ${item.correttoVersion}`) .map(item => `${item.version}: ${item.correttoVersion}`)

View file

@ -93,7 +93,7 @@ export class CorrettoDistribution extends JavaBase {
const imageType = this.packageType; const imageType = this.packageType;
if (core.isDebug()) { if (core.isDebug()) {
console.time('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.time('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
} }
const availableVersionsUrl = const availableVersionsUrl =
@ -116,7 +116,7 @@ export class CorrettoDistribution extends JavaBase {
if (core.isDebug()) { if (core.isDebug()) {
core.startGroup('Print information about available versions'); core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for Coretto took'); // eslint-disable-line no-console console.timeEnd('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
core.debug(`Available versions: [${availableVersions.length}]`); core.debug(`Available versions: [${availableVersions.length}]`);
core.debug( core.debug(
availableVersions availableVersions