Skip to content

Commit edc3c6e

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 d8dc593 commit edc3c6e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/jruby_head.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99

1010
runs-on: ubuntu-latest
11-
continue-on-error: true
11+
continue-on-error: false
1212
strategy:
1313
matrix:
1414
ruby: [
@@ -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)