mirror of
https://github.com/actions/setup-java.git
synced 2025-07-09 06:30:51 +00:00
OpenLogic uses zip for macos pkgs
This commit is contained in:
parent
48c0cd5458
commit
628791df9d
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user