Skip to content

Commit d332f5c

Browse files
authored
graalvm*: Add CE JDK 17 and fix CE JDK 21 checkver (#592)
1 parent cd5a895 commit d332f5c

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

bucket/graalvm-ce-17jdk.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)",
3+
"version": "17.0.9",
4+
"homepage": "https://www.graalvm.org/",
5+
"license": "GPL-2.0",
6+
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.9/graalvm-community-jdk-17.0.9_windows-x64_bin.zip",
7+
"hash": "285e045bfc0b87d2b61958fea97444c3c6c7e68fba3fdbbe146622328b52ec38",
8+
"extract_to": "tmp",
9+
"installer": {
10+
"script": [
11+
"(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
12+
"Remove-Item -Recurse \"$dir\\tmp\""
13+
]
14+
},
15+
"env_add_path": "bin",
16+
"env_set": {
17+
"JAVA_HOME": "$dir",
18+
"GRAALVM_HOME": "$dir"
19+
},
20+
"checkver": {
21+
"url": "https://api.github.com/repos/graalvm/graalvm-ce-builds/releases?per_page=100",
22+
"jsonpath": "$[*].tag_name",
23+
"regex": "jdk-(17\\.[\\d.]+)"
24+
},
25+
"autoupdate": {
26+
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$version/graalvm-community-jdk-$version_windows-x64_bin.zip",
27+
"hash": {
28+
"url": "$url.sha256"
29+
}
30+
}
31+
}

bucket/graalvm21-jdk21.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"GRAALVM_HOME": "$dir"
1919
},
2020
"checkver": {
21-
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/latest",
22-
"regex": "jdk-(21[\\d.]+)"
21+
"url": "https://api.github.com/repos/graalvm/graalvm-ce-builds/releases?per_page=100",
22+
"jsonpath": "$[*].tag_name",
23+
"regex": "jdk-(21\\.[\\d.]+)"
2324
},
2425
"autoupdate": {
2526
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$version/graalvm-community-jdk-$version_windows-x64_bin.zip",

0 commit comments

Comments
 (0)