@@ -94,11 +94,11 @@ jobs:
94
94
.gradle/wrapper
95
95
# refresh cache every month to avoid unlimited growth
96
96
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
97
- - name : Set up JDK 11
97
+ - name : Set up JDK 17
98
98
99
99
with :
100
100
distribution : ' temurin'
101
- java-version : 11
101
+ java-version : 17
102
102
- name : Print the effective ORM version used
103
103
run : ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
104
104
- name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -136,11 +136,11 @@ jobs:
136
136
.gradle/wrapper
137
137
# refresh cache every month to avoid unlimited growth
138
138
key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
139
- - name : Set up JDK 11
139
+ - name : Set up JDK 17
140
140
141
141
with :
142
142
distribution : ' temurin'
143
- java-version : 11
143
+ java-version : 17
144
144
- name : Print the effective ORM version used
145
145
run : ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
146
146
- name : Build and Test with ${{ matrix.db }}
@@ -165,7 +165,6 @@ jobs:
165
165
# To see the available versions and download links on jdk.java.net:
166
166
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
167
167
java :
168
- - { name: "11", java_version_numeric: 11 }
169
168
- { name: "17", java_version_numeric: 17 }
170
169
# We want to enable preview features when testing newer builds of OpenJDK:
171
170
# even if we don't use these features, just enabling them can cause side effects
@@ -245,11 +244,11 @@ jobs:
245
244
id : testjdk-exportpath
246
245
run : echo "::set-output name=path::${JAVA_HOME}"
247
246
# Always use JDK 11 to build the main code: that's what we use for releases.
248
- - name : Set up JDK 11
247
+ - name : Set up JDK 17
249
248
250
249
with :
251
250
distribution : ' temurin'
252
- java-version : 11
251
+ java-version : 17
253
252
check-latest : true
254
253
- name : Export path to JDK 11
255
254
id : mainjdk-exportpath
0 commit comments