mirror of
https://gitea.com/actions/setup-java.git
synced 2026-07-09 19:22:05 +08:00
* 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>
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
|
|
}
|