Skip to content

Commit a4cdaa6

Browse files
committed
Switch to Java 21 before verifying JRuby
JRuby requires Java 21 now.
1 parent 4e039ed commit a4cdaa6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ jobs:
143143
if: startsWith(matrix.os, 'windows')
144144
- run: echo $Env:Path
145145

146+
- name: switch to Java 21 for verification
147+
uses: actions/setup-java@v3
148+
with:
149+
distribution: 'zulu'
150+
java-version: 21
146151
- run: ruby --version
147152
- run: ruby -e 'raise unless RUBY_ENGINE == %{jruby}'
148153
- run: gem --version

0 commit comments

Comments
 (0)