mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 18:01:46 +00:00
Include ea builds only if 'ea' was part of the given version
This commit is contained in:
parent
9a807817f3
commit
ef705735f7
@ -266,7 +266,9 @@ async function getDownloadInfo(
|
||||
} else {
|
||||
url += '&package_type=' + packageType;
|
||||
}
|
||||
url += '&release_status=ea';
|
||||
if (version.includes('ea') {
|
||||
url += '&release_status=ea';
|
||||
}
|
||||
url += '&release_status=ga';
|
||||
url += '&architecture=' + architecture;
|
||||
url += '&operating_system=' + operatingSystem;
|
||||
|
Loading…
Reference in New Issue
Block a user