mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Always add 'ga' and 'ea' only if it is in the version number
This commit is contained in:
parent
74d577bb95
commit
33ea571461
2 changed files with 2 additions and 5 deletions
|
@ -268,9 +268,8 @@ async function getDownloadInfo(
|
|||
}
|
||||
if (version.includes('ea')) {
|
||||
url += '&release_status=ea';
|
||||
} else {
|
||||
url += '&release_status=ga';
|
||||
}
|
||||
url += '&release_status=ga';
|
||||
url += '&architecture=' + architecture;
|
||||
url += '&operating_system=' + operatingSystem;
|
||||
url += '&archive_type=' + archiveType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue