Skip to content

Commit f63359b

Browse files
committed
Set up Java 21 for jruby-head builds
These builds compile the extension, so they need to also have the command line `javac` be Java 21 when building against JRuby 10.
1 parent c3c4e05 commit f63359b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ubuntu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
git config --global core.eol lf
3030
git config --global advice.detachedHead 0
3131
- uses: actions/checkout@v4
32+
- uses: actions/setup-java@v4
33+
with:
34+
distribution: zulu
35+
java-version: 21
36+
if: >-
37+
matrix.ruby == 'jruby-head'
3238
- name: Set up Ruby
3339
uses: ruby/setup-ruby@v1
3440
with:

0 commit comments

Comments
 (0)