Skip to content

Commit b9f4a43

Browse files
committed
JDK 17
1 parent 3e07f7e commit b9f4a43

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ jobs:
9090
.gradle/wrapper
9191
# refresh cache every month to avoid unlimited growth
9292
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
93-
- name: Set up JDK 11
93+
- name: Set up JDK 17
9494
uses: actions/setup-java@v2.2.0
9595
with:
9696
distribution: 'temurin'
97-
java-version: 11
97+
java-version: 17
9898
- name: Print the effective ORM version used
9999
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
100100
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -129,11 +129,11 @@ jobs:
129129
.gradle/wrapper
130130
# refresh cache every month to avoid unlimited growth
131131
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
132-
- name: Set up JDK 11
132+
- name: Set up JDK 17
133133
uses: actions/setup-java@v2.2.0
134134
with:
135135
distribution: 'temurin'
136-
java-version: 11
136+
java-version: 17
137137
- name: Print the effective ORM version used
138138
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
139139
- name: Build and Test with ${{ matrix.db }}
@@ -201,14 +201,14 @@ jobs:
201201
- name: Export path to JDK ${{ matrix.java.name }}
202202
id: testjdk-exportpath
203203
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
206206
uses: actions/setup-java@v2.2.0
207207
with:
208208
distribution: 'temurin'
209-
java-version: 11
209+
java-version: 17
210210
check-latest: true
211-
- name: Export path to JDK 11
211+
- name: Export path to JDK 17
212212
id: mainjdk-exportpath
213213
run: echo "::set-output name=path::${JAVA_HOME}"
214214
- name: Display exact version of JDK ${{ matrix.java.name }}

0 commit comments

Comments
 (0)