Skip to content

Commit 2336833

Browse files
committed
ci jruby: use Java 21 for jruby
refs: ruby/strscan@baa5de3 refs: ruby/strscan@a4afd32
1 parent fd4f0ef commit 2336833

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
- uses: ruby/setup-ruby@v1
4141
with:
4242
ruby-version: ${{matrix.ruby}}
43+
- uses: actions/setup-java@v4
44+
with:
45+
distribution: zulu
46+
java-version: 21
47+
if: >-
48+
startsWith(matrix.ruby, 'jruby')
4349
- run: bundle install --jobs 4 --retry 3
4450
- run: rake test
4551
- run: rake build

0 commit comments

Comments
 (0)