mirror of
https://github.com/actions/setup-java.git
synced 2026-06-23 08:19:41 +00:00
9eb9a7c9b3
This option allows to install an additional JDK without making it the default one. I have wanted this for quite a long time as I'm running custom GitHub Actions with Java, which might require a specific JDK and I don't want to pollute the JDK that is used by the overall workflow calling the action. And I'm apparently not alone as there was a preexisting issue. Fixes #560
18 lines
310 B
TypeScript
18 lines
310 B
TypeScript
export interface JavaInstallerOptions {
|
|
version: string;
|
|
architecture: string;
|
|
packageType: string;
|
|
checkLatest: boolean;
|
|
setDefault?: boolean;
|
|
}
|
|
|
|
export interface JavaInstallerResults {
|
|
version: string;
|
|
path: string;
|
|
}
|
|
|
|
export interface JavaDownloadRelease {
|
|
version: string;
|
|
url: string;
|
|
}
|