mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Defined zulu as default
This commit is contained in:
parent
47432e01be
commit
f69f9cdc0b
2 changed files with 2 additions and 2 deletions
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* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
||||||
let operatingSystem = '';
|
let operatingSystem = '';
|
||||||
|
|
|
@ -192,7 +192,7 @@ async function getDownloadInfo(
|
||||||
version: string,
|
version: string,
|
||||||
arch: string,
|
arch: string,
|
||||||
javaPackage: string,
|
javaPackage: string,
|
||||||
distro: string
|
distro: string = 'zulu'
|
||||||
): Promise<{version: string; url: string}> {
|
): Promise<{version: string; url: string}> {
|
||||||
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
const architecture = arch === 'x86' ? 'i686' : 'x64';
|
||||||
let operatingSystem = '';
|
let operatingSystem = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue