mirror of
https://github.com/actions/setup-java.git
synced 2026-11-17 02:55:01 +00:00
* 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]>
26 lines
525 B
TypeScript
26 lines
525 B
TypeScript
export interface IKonaReleaseInfo {
|
|
[majorVersion: string]: {
|
|
version: string;
|
|
jdkVersion: string;
|
|
latest: boolean;
|
|
|
|
baseUrl: string;
|
|
files: {
|
|
os: string; // linux, macos, windows
|
|
arch: string; // x86_64, aarch64
|
|
|
|
filename: string;
|
|
checksum: string;
|
|
}[];
|
|
}[];
|
|
}
|
|
|
|
export interface IKonaRelease {
|
|
version: string;
|
|
jdkVersion: string;
|
|
os: string; // linux, macos, windows
|
|
arch: string; // x86_64, aarch64
|
|
downloadUrl: string;
|
|
checksum: string; // SHA-256 digest
|
|
}
|