mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 09:51:47 +00:00
Defined zulu as default
This commit is contained in:
parent
47432e01be
commit
f69f9cdc0b
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -33658,7 +33658,7 @@ function unzipJavaDownload(repoRoot, fileEnding, destinationFolder, extension) {
|
||||
}
|
||||
});
|
||||
}
|
||||
function getDownloadInfo(refs, version, arch, javaPackage, distro) {
|
||||
function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
||||
let operatingSystem = '';
|
||||
|
@ -192,7 +192,7 @@ async function getDownloadInfo(
|
||||
version: string,
|
||||
arch: string,
|
||||
javaPackage: string,
|
||||
distro: string
|
||||
distro: string = 'zulu'
|
||||
): Promise<{version: string; url: string}> {
|
||||
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
||||
let operatingSystem = '';
|
||||
|
Loading…
Reference in New Issue
Block a user