diff --git a/dist/setup/index.js b/dist/setup/index.js index b1aebaec..0d4e1a41 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -33694,23 +33694,19 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { distribution = 'zulu'; } let archiveType; - let libcType; if (IS_WINDOWS) { operatingSystem = 'windows'; archiveType = 'zip'; - libcType = 'c_std_lib'; } else { if (process.platform === 'darwin') { operatingSystem = 'macos'; let zipArchive = distribution === 'liberica' || distribution === 'openlogic'; archiveType = zipArchive ? 'zip' : 'tar.gz'; - libcType = 'libc'; } else { operatingSystem = 'linux'; archiveType = distribution === 'ojdk_build' ? 'zip' : 'tar.gz'; - libcType = 'glibc'; } } let url = constants_1.DISCO_URL + constants_1.PACKAGES_PATH; @@ -33732,7 +33728,6 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { url += '&architecture=' + architecture; url += '&operating_system=' + operatingSystem; url += '&archive_type=' + archiveType; - url += '&libc_type=' + libcType; if (version.includes('x') || version.includes('ea') || version.startsWith('1.')) { diff --git a/src/installer.ts b/src/installer.ts index 4e11959a..22ed92a8 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -220,22 +220,18 @@ async function getDownloadInfo( distribution = 'zulu'; } let archiveType; - let libcType; if (IS_WINDOWS) { operatingSystem = 'windows'; archiveType = 'zip'; - libcType = 'c_std_lib'; } else { if (process.platform === 'darwin') { operatingSystem = 'macos'; let zipArchive = distribution === 'liberica' || distribution === 'openlogic'; archiveType = zipArchive ? 'zip' : 'tar.gz'; - libcType = 'libc'; } else { operatingSystem = 'linux'; archiveType = distribution === 'ojdk_build' ? 'zip' : 'tar.gz'; - libcType = 'glibc'; } } @@ -257,7 +253,6 @@ async function getDownloadInfo( url += '&architecture=' + architecture; url += '&operating_system=' + operatingSystem; url += '&archive_type=' + archiveType; - url += '&libc_type=' + libcType; if ( version.includes('x') || version.includes('ea') ||