mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 21:04:16 +00:00
When version contains 'x' use &latest=overall
This commit is contained in:
parent
b101cc1ed2
commit
d3c44ebddc
2 changed files with 2 additions and 2 deletions
|
@ -254,7 +254,7 @@ async function getDownloadInfo(
|
|||
url += '&architecture=' + architecture;
|
||||
url += '&operating_system=' + operatingSystem;
|
||||
url += '&archive_type=' + archiveType;
|
||||
if (version.endsWith('x') || version.includes('ea')) {
|
||||
if (version.includes('x') || version.includes('ea')) {
|
||||
url += '&latest=overall';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue