mirror of
https://github.com/actions/setup-java.git
synced 2026-09-03 18:54:51 +08:00
Add Red Hat Build of OpenJDK support (#1241)
* Add Red Hat Build of OpenJDK support Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix Red Hat tests on Windows Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update compiled Red Hat distribution Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot App
Copilot Autofix powered by AI
parent
5f75b27283
commit
416c6d1e8a
@@ -98,6 +98,10 @@ export async function getJavaDistribution(
|
||||
const {OpenJdkDistribution} = await import('./openjdk/installer.js');
|
||||
return new OpenJdkDistribution(normalizedInstallerOptions);
|
||||
}
|
||||
case JavaDistribution.RedHat: {
|
||||
const {RedHatDistribution} = await import('./redhat/installer.js');
|
||||
return new RedHatDistribution(normalizedInstallerOptions);
|
||||
}
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user