mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Add optional java-package parameter
This commit is contained in:
parent
e7c72b564b
commit
8a1c2c8f65
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ function getDownloadInfo(refs, version, javaPackage) {
|
|||
}
|
||||
}
|
||||
if (curUrl == '') {
|
||||
throw new Error(`No valid download found for version ${version}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument`);
|
||||
throw new Error(`No valid download found for version ${version} and package ${javaPackage}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument`);
|
||||
}
|
||||
return { version: curVersion, url: curUrl };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue