dist: Support Tencent Kona JDK (#672)

* Support Tencent Kona JDK (#672)

Signed-off-by: John Jiang <johnsjiang@tencent.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Address Copilot review feedback for Kona distribution

- Sort matching releases by semver descending so range versions (e.g. >=17) resolve to the newest matching Kona JDK instead of the lowest
- Rename downloaded archive on Windows before extraction (renameWinArchive) to avoid extraction failures
- Import semver for version sorting

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Signed-off-by: John Jiang <johnsjiang@tencent.com>
Co-authored-by: Bruno Borges <brborges@microsoft.com>
Co-authored-by: Bruno Borges <bruno.borges@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
John Jiang
2026-07-07 23:00:40 +08:00
committed by GitHub
parent 77ee41d00e
commit a50fdccef1
9 changed files with 807 additions and 2 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ jobs:
'corretto',
'dragonwell',
'sapmachine',
'jetbrains'
'jetbrains',
'kona'
] # internally 'adopt-hotspot' is the same as 'adopt'
version: ['21', '11', '17']
exclude: