Skip to content

Commit d86aae2

Browse files
yahondaclaude
andcommitted
Pin Java 17 Temurin for JRuby matrix entry
ojdbc17.jar requires Java 17+. Explicitly set up Temurin 17 via actions/setup-java for the JRuby job so CI does not silently depend on whichever JDK the GitHub runner image happens to ship. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3b28ed5 commit d86aae2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
4444
steps:
4545
- uses: actions/checkout@v6
46+
- name: Set up Java
47+
if: startsWith(matrix.ruby, 'jruby')
48+
uses: actions/setup-java@v4
49+
with:
50+
distribution: temurin
51+
java-version: '17'
4652
- name: Set up Ruby
4753
uses: ruby/setup-ruby@v1
4854
with:

0 commit comments

Comments
 (0)