mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 21:04:16 +00:00
OpenLogic uses zip for macos pkgs
This commit is contained in:
parent
48c0cd5458
commit
628791df9d
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue