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:
Bruno Borges
2026-08-17 20:39:36 -04:00
committed by GitHub
co-authored by Copilot App Copilot Autofix powered by AI
parent 5f75b27283
commit 416c6d1e8a
16 changed files with 803 additions and 6 deletions
+5 -1
View File
@@ -30905,7 +30905,9 @@ async function extractJdkFile(toolPath, extension) {
if (!extension) {
extension = toolPath.endsWith('.tar.gz')
? 'tar.gz'
: path.extname(toolPath);
: toolPath.endsWith('.tar.xz')
? 'tar.xz'
: path.extname(toolPath);
if (extension.startsWith('.')) {
extension = extension.substring(1);
}
@@ -30913,6 +30915,8 @@ async function extractJdkFile(toolPath, extension) {
switch (extension) {
case 'tar.gz':
return await extractTarGz(toolPath);
case 'tar.xz':
return await tc.extractTar(toolPath, undefined, 'xJ');
case 'tar':
return await tc.extractTar(toolPath);
case 'zip':