@@ -90,11 +90,11 @@ jobs:
90
90
.gradle/wrapper
91
91
# refresh cache every month to avoid unlimited growth
92
92
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
93
- - name : Set up JDK 11
93
+ - name : Set up JDK 17
94
94
uses : actions/setup-java@v2.2.0
95
95
with :
96
96
distribution : ' temurin'
97
- java-version : 11
97
+ java-version : 17
98
98
- name : Print the effective ORM version used
99
99
run : ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
100
100
- name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -129,11 +129,11 @@ jobs:
129
129
.gradle/wrapper
130
130
# refresh cache every month to avoid unlimited growth
131
131
key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
132
- - name : Set up JDK 11
132
+ - name : Set up JDK 17
133
133
uses : actions/setup-java@v2.2.0
134
134
with :
135
135
distribution : ' temurin'
136
- java-version : 11
136
+ java-version : 17
137
137
- name : Print the effective ORM version used
138
138
run : ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
139
139
- name : Build and Test with ${{ matrix.db }}
@@ -201,14 +201,14 @@ jobs:
201
201
- name : Export path to JDK ${{ matrix.java.name }}
202
202
id : testjdk-exportpath
203
203
run : echo "::set-output name=path::${JAVA_HOME}"
204
- # Always use JDK 11 to build the main code: that's what we use for releases.
205
- - name : Set up JDK 11
204
+ # Always use JDK 17 to build the main code: that's what we use for releases.
205
+ - name : Set up JDK 17
206
206
uses : actions/setup-java@v2.2.0
207
207
with :
208
208
distribution : ' temurin'
209
- java-version : 11
209
+ java-version : 17
210
210
check-latest : true
211
- - name : Export path to JDK 11
211
+ - name : Export path to JDK 17
212
212
id : mainjdk-exportpath
213
213
run : echo "::set-output name=path::${JAVA_HOME}"
214
214
- name : Display exact version of JDK ${{ matrix.java.name }}
0 commit comments