mirror of
https://github.com/actions/setup-java.git
synced 2025-04-22 02:46:46 +00:00
changed oracle_open_jdk to oracle_openjdk
This commit is contained in:
parent
ef705735f7
commit
02522e5e9d
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ export const DISTROS: string[] = [
|
||||||
'dragonwell',
|
'dragonwell',
|
||||||
'liberica',
|
'liberica',
|
||||||
'ojdk_build',
|
'ojdk_build',
|
||||||
'oracle_open_jdk',
|
'oracle_openjdk',
|
||||||
'sap_machine',
|
'sap_machine',
|
||||||
'zulu'
|
'zulu'
|
||||||
];
|
];
|
||||||
|
|
|
@ -216,7 +216,7 @@ async function getDownloadInfo(
|
||||||
distribution = distro.toLowerCase();
|
distribution = distro.toLowerCase();
|
||||||
} else {
|
} else {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_open_jdk | sap_machine | zulu]`
|
`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | zulu]`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue