dist: Support Tencent Kona JDK (#672)

* Support Tencent Kona JDK (#672)

Signed-off-by: John Jiang <[email protected]>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* 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 <[email protected]>

---------

Signed-off-by: John Jiang <[email protected]>
Co-authored-by: Bruno Borges <[email protected]>
Co-authored-by: Bruno Borges <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot App <[email protected]>
This commit is contained in:
John Jiang
2026-07-07 11:00:40 -04:00
committed by GitHub
co-authored by Bruno Borges Bruno Borges Copilot Autofix powered by AI Copilot App
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: