mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
make java-version and distribution required for action
This commit is contained in:
parent
c94ef7c5ab
commit
fde2f0fa88
6 changed files with 45 additions and 68 deletions
|
@ -22,7 +22,7 @@ export abstract class JavaBase {
|
|||
({ version: this.version, stable: this.stable } = this.normalizeVersion(
|
||||
installerOptions.version
|
||||
));
|
||||
this.architecture = installerOptions.arch;
|
||||
this.architecture = installerOptions.architecture;
|
||||
this.packageType = installerOptions.packageType;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export interface JavaInstallerOptions {
|
||||
version: string;
|
||||
arch: string;
|
||||
architecture: string;
|
||||
packageType: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue