1
- # GitHub actions for branch testing the latest Hibernate ORM 6.6 snapshot
1
+ # GitHub actions for branch testing the latest Hibernate ORM 7.0 snapshot
2
2
name : Hibernate Reactive CI
3
3
4
4
on :
5
5
push :
6
6
branches :
7
- - wip/2.4
7
+ - wip/3.0
8
8
pull_request :
9
- branches : wip/2.4
9
+ branches : wip/3.0
10
10
schedule :
11
11
# * is a special character in YAML, so you have to quote this string
12
12
# Run every hour at minute 25
@@ -85,11 +85,11 @@ jobs:
85
85
.gradle/wrapper
86
86
# refresh cache every month to avoid unlimited growth
87
87
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
88
- - name : Set up JDK 11
88
+ - name : Set up JDK 17
89
89
90
90
with :
91
91
distribution : ' temurin'
92
- java-version : 11
92
+ java-version : 17
93
93
- name : Print the effective ORM version used
94
94
run : ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
95
95
- name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -124,11 +124,11 @@ jobs:
124
124
.gradle/wrapper
125
125
# refresh cache every month to avoid unlimited growth
126
126
key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
127
- - name : Set up JDK 11
127
+ - name : Set up JDK 17
128
128
129
129
with :
130
130
distribution : ' temurin'
131
- java-version : 11
131
+ java-version : 17
132
132
- name : Print the effective ORM version used
133
133
run : ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
134
134
- name : Build and Test with ${{ matrix.db }}
@@ -153,7 +153,7 @@ jobs:
153
153
# To see the available versions and download links on jdk.java.net:
154
154
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
155
155
java :
156
- - { name: "11", java_version_numeric: 11 }
156
+ # - { name: "11", java_version_numeric: 11 }
157
157
- { name: "17", java_version_numeric: 17 }
158
158
# We want to enable preview features when testing newer builds of OpenJDK:
159
159
# even if we don't use these features, just enabling them can cause side effects
@@ -196,14 +196,14 @@ jobs:
196
196
- name : Export path to JDK ${{ matrix.java.name }}
197
197
id : testjdk-exportpath
198
198
run : echo "::set-output name=path::${JAVA_HOME}"
199
- # Always use JDK 11 to build the main code: that's what we use for releases.
200
- - name : Set up JDK 11
199
+ # Always use JDK 17 to build the main code: that's what we use for releases.
200
+ - name : Set up JDK 17
201
201
202
202
with :
203
203
distribution : ' temurin'
204
- java-version : 11
204
+ java-version : 17
205
205
check-latest : true
206
- - name : Export path to JDK 11
206
+ - name : Export path to JDK 17
207
207
id : mainjdk-exportpath
208
208
run : echo "::set-output name=path::${JAVA_HOME}"
209
209
- name : Display exact version of JDK ${{ matrix.java.name }}
@@ -229,11 +229,11 @@ jobs:
229
229
runs-on : ubuntu-latest
230
230
steps :
231
231
- uses : actions/checkout@v2
232
- - name : Set up JDK 11
232
+ - name : Set up JDK 17
233
233
234
234
with :
235
235
distribution : ' temurin'
236
- java-version : 11
236
+ java-version : 17
237
237
- name : Create artifacts
238
238
run : ./gradlew assemble
239
239
- name : Detect the version of Hibernate Reactive
0 commit comments