Skip to content

Commit 5b624e1

Browse files
committed
Set up Oracle JDK 21 for jruby_head workflow
Pin Oracle JDK 21 explicitly via actions/setup-java in the jruby_head workflow so the Oracle JDBC driver loads against a known-good runtime instead of whichever JDK the runner image ships by default. Oracle's ojdbc17.jar is certified with JDK 17 and JDK 21.
1 parent 8aad9cd commit 5b624e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/jruby_head.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
4040
steps:
4141
- uses: actions/checkout@v6
42+
- name: Set up Java
43+
uses: actions/setup-java@v4
44+
with:
45+
distribution: oracle
46+
java-version: '21'
4247
- name: Set up Ruby
4348
uses: ruby/setup-ruby@v1
4449
with:

0 commit comments

Comments
 (0)