mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Semeru Support
This commit is contained in:
parent
a12e082d83
commit
8ea4ffb40e
10 changed files with 3814 additions and 2081 deletions
|
@ -6,6 +6,7 @@ import { AdoptDistribution, AdoptImplementation } from './adopt/installer';
|
|||
import { TemurinDistribution, TemurinImplementation } from './temurin/installer';
|
||||
import { LibericaDistributions } from './liberica/installer';
|
||||
import { MicrosoftDistributions } from './microsoft/installer';
|
||||
import { SemeruDistribution } from './semeru/installer';
|
||||
|
||||
enum JavaDistribution {
|
||||
Adopt = 'adopt',
|
||||
|
@ -15,7 +16,8 @@ enum JavaDistribution {
|
|||
Zulu = 'zulu',
|
||||
Liberica = 'liberica',
|
||||
JdkFile = 'jdkfile',
|
||||
Microsoft = 'microsoft'
|
||||
Microsoft = 'microsoft',
|
||||
Semeru = 'semeru'
|
||||
}
|
||||
|
||||
export function getJavaDistribution(
|
||||
|
@ -39,6 +41,8 @@ export function getJavaDistribution(
|
|||
return new LibericaDistributions(installerOptions);
|
||||
case JavaDistribution.Microsoft:
|
||||
return new MicrosoftDistributions(installerOptions);
|
||||
case JavaDistribution.Semeru:
|
||||
return new SemeruDistribution(installerOptions);
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue