diff --git a/dist/setup/index.js b/dist/setup/index.js index 98eda868..7c5dafd0 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -33701,7 +33701,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { else { if (process.platform === 'darwin') { operatingSystem = 'macos'; - archiveType = distribution === 'liberica' ? 'zip' : 'tar.gz'; + archiveType = ((distribution === 'liberica') || (distribution === 'open_logic')) ? 'zip' : 'tar.gz'; } else { operatingSystem = 'linux'; diff --git a/src/installer.ts b/src/installer.ts index 00c84401..e512b3a3 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -226,7 +226,10 @@ async function getDownloadInfo( } else { if (process.platform === 'darwin') { operatingSystem = 'macos'; - archiveType = distribution === 'liberica' ? 'zip' : 'tar.gz'; + archiveType = + distribution === 'liberica' || distribution === 'open_logic' + ? 'zip' + : 'tar.gz'; } else { operatingSystem = 'linux'; archiveType = distribution === 'ojdk_build' ? 'zip' : 'tar.gz';