Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit 3589edf

Browse files
Update java and graal versions to 21
1 parent a75abf7 commit 3589edf

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-java@v4
2424
with:
2525
distribution: adopt-hotspot
26-
java-version: 17
26+
java-version: 21
2727
java-package: jdk
2828
architecture: x64
2929
- name: Setup Bazelisk
@@ -89,7 +89,7 @@ jobs:
8989
uses: actions/setup-java@v4
9090
with:
9191
distribution: adopt-hotspot
92-
java-version: 17
92+
java-version: 21
9393
java-package: jdk
9494
architecture: x64
9595
- uses: actions/checkout@v4
@@ -99,7 +99,7 @@ jobs:
9999
node-version: ${{ env.NODE_VERSION }}
100100
- uses: graalvm/setup-graalvm@v1
101101
with:
102-
java-version: '17'
102+
java-version: 21
103103
distribution: 'graalvm-community'
104104
github-token: ${{ secrets.GITHUB_TOKEN }}
105105
native-image-job-reports: 'true'
@@ -158,7 +158,7 @@ jobs:
158158
uses: actions/setup-java@v4
159159
with:
160160
distribution: adopt-hotspot
161-
java-version: 17
161+
java-version: 21
162162
java-package: jdk
163163
architecture: x64
164164
- uses: actions/checkout@v4
@@ -168,7 +168,7 @@ jobs:
168168
node-version: ${{ env.NODE_VERSION }}
169169
- uses: graalvm/setup-graalvm@v1
170170
with:
171-
java-version: '17'
171+
java-version: 21
172172
distribution: 'graalvm-community'
173173
github-token: ${{ secrets.GITHUB_TOKEN }}
174174
native-image-job-reports: 'true'
@@ -224,7 +224,7 @@ jobs:
224224
uses: actions/setup-java@v4
225225
with:
226226
distribution: adopt-hotspot
227-
java-version: 17
227+
java-version: 21
228228
java-package: jdk
229229
architecture: x64
230230
- uses: actions/checkout@v4
@@ -234,7 +234,7 @@ jobs:
234234
node-version: ${{ env.NODE_VERSION }}
235235
- uses: graalvm/setup-graalvm@v1
236236
with:
237-
java-version: '17'
237+
java-version: 21
238238
distribution: 'graalvm-community'
239239
github-token: ${{ secrets.GITHUB_TOKEN }}
240240
native-image-job-reports: 'true'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v4
2727
with:
2828
distribution: adopt-hotspot
29-
java-version: 17
29+
java-version: 21
3030
java-package: jdk
3131
architecture: x64
3232
- name: Setup Bazelisk

build-scripts/graal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ const NATIVE_IMAGE_BUILD_ARGS = [
5252
}),
5353
'-H:+ReportExceptionStackTraces',
5454
'--initialize-at-build-time',
55-
'--color',
56-
'always',
55+
'--color=always',
5756
'-jar',
5857
path.resolve(process.cwd(), 'compiler.jar')
5958
];

0 commit comments

Comments
 (0)