mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Added trava distro
This commit is contained in:
parent
131290ed3e
commit
b101cc1ed2
4 changed files with 5 additions and 2 deletions
1
dist/cleanup/index.js
vendored
1
dist/cleanup/index.js
vendored
|
@ -1043,6 +1043,7 @@ exports.DISTROS = [
|
|||
'ojdk_build',
|
||||
'oracle_openjdk',
|
||||
'sap_machine',
|
||||
'trava',
|
||||
'zulu'
|
||||
];
|
||||
|
||||
|
|
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -25780,6 +25780,7 @@ exports.DISTROS = [
|
|||
'ojdk_build',
|
||||
'oracle_openjdk',
|
||||
'sap_machine',
|
||||
'trava',
|
||||
'zulu'
|
||||
];
|
||||
|
||||
|
@ -33684,7 +33685,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') {
|
|||
distribution = distro.toLowerCase();
|
||||
}
|
||||
else {
|
||||
throw new Error(`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | zulu]`);
|
||||
throw new Error(`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | trava | zulu]`);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue