@@ -94,11 +94,11 @@ jobs:
9494 .gradle/wrapper
9595 # refresh cache every month to avoid unlimited growth
9696 key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
97- - name : Set up JDK 11
97+ - name : Set up JDK 17
9898 uses : actions/setup-java@v2.2.0
9999 with :
100100 distribution : ' temurin'
101- java-version : 11
101+ java-version : 17
102102 - name : Print the effective ORM version used
103103 run : ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
104104 - name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -136,11 +136,11 @@ jobs:
136136 .gradle/wrapper
137137 # refresh cache every month to avoid unlimited growth
138138 key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
139- - name : Set up JDK 11
139+ - name : Set up JDK 17
140140 uses : actions/setup-java@v2.2.0
141141 with :
142142 distribution : ' temurin'
143- java-version : 11
143+ java-version : 17
144144 - name : Print the effective ORM version used
145145 run : ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
146146 - name : Build and Test with ${{ matrix.db }}
@@ -165,7 +165,6 @@ jobs:
165165 # To see the available versions and download links on jdk.java.net:
166166 # https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
167167 java :
168- - { name: "11", java_version_numeric: 11 }
169168 - { name: "17", java_version_numeric: 17 }
170169 # We want to enable preview features when testing newer builds of OpenJDK:
171170 # even if we don't use these features, just enabling them can cause side effects
@@ -246,11 +245,11 @@ jobs:
246245 id : testjdk-exportpath
247246 run : echo "::set-output name=path::${JAVA_HOME}"
248247 # Always use JDK 11 to build the main code: that's what we use for releases.
249- - name : Set up JDK 11
248+ - name : Set up JDK 17
250249 uses : actions/setup-java@v2.2.0
251250 with :
252251 distribution : ' temurin'
253- java-version : 11
252+ java-version : 17
254253 check-latest : true
255254 - name : Export path to JDK 11
256255 id : mainjdk-exportpath
0 commit comments