@@ -3,12 +3,9 @@ name: Hibernate Reactive CI
3
3
on :
4
4
push :
5
5
branches :
6
- - wip/2.4
7
- tags :
8
- - ' 2.4.*'
6
+ - wip/3.0
9
7
pull_request :
10
- branches :
11
- - wip/2.4
8
+ branches : wip/3.0
12
9
13
10
# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
14
11
concurrency :
@@ -81,11 +78,11 @@ jobs:
81
78
.gradle/wrapper
82
79
# refresh cache every month to avoid unlimited growth
83
80
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
84
- - name : Set up JDK 11
81
+ - name : Set up JDK 17
85
82
86
83
with :
87
84
distribution : ' temurin'
88
- java-version : 11
85
+ java-version : 17
89
86
- name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
90
87
run : ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }}
91
88
- name : Upload reports (if build failed)
@@ -118,11 +115,11 @@ jobs:
118
115
.gradle/wrapper
119
116
# refresh cache every month to avoid unlimited growth
120
117
key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
121
- - name : Set up JDK 11
118
+ - name : Set up JDK 17
122
119
123
120
with :
124
121
distribution : ' temurin'
125
- java-version : 11
122
+ java-version : 17
126
123
- name : Build and Test with ${{ matrix.db }}
127
124
run : ./gradlew build -PshowStandardOutput -Pdocker -Pdb=${{ matrix.db }}
128
125
- name : Upload reports (if build failed)
@@ -145,7 +142,7 @@ jobs:
145
142
# To see the available versions and download links on jdk.java.net:
146
143
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
147
144
java :
148
- - { name: "11", java_version_numeric: 11 }
145
+ # - { name: "11", java_version_numeric: 11 }
149
146
- { name: "17", java_version_numeric: 17 }
150
147
# We want to enable preview features when testing newer builds of OpenJDK:
151
148
# even if we don't use these features, just enabling them can cause side effects
@@ -188,14 +185,14 @@ jobs:
188
185
- name : Export path to JDK ${{ matrix.java.name }}
189
186
id : testjdk-exportpath
190
187
run : echo "::set-output name=path::${JAVA_HOME}"
191
- # Always use JDK 11 to build the main code: that's what we use for releases.
192
- - name : Set up JDK 11
188
+ # Always use JDK 17 to build the main code: that's what we use for releases.
189
+ - name : Set up JDK 17
193
190
194
191
with :
195
192
distribution : ' temurin'
196
- java-version : 11
193
+ java-version : 17
197
194
check-latest : true
198
- - name : Export path to JDK 11
195
+ - name : Export path to JDK 17
199
196
id : mainjdk-exportpath
200
197
run : echo "::set-output name=path::${JAVA_HOME}"
201
198
- name : Display exact version of JDK ${{ matrix.java.name }}
@@ -223,7 +220,7 @@ jobs:
223
220
224
221
with :
225
222
distribution : ' temurin'
226
- java-version : 11
223
+ java-version : 17
227
224
- name : Create artifacts
228
225
run : ./gradlew assemble
229
226
- name : Detect the version of Hibernate Reactive
@@ -251,7 +248,7 @@ jobs:
251
248
252
249
with :
253
250
distribution : ' temurin'
254
- java-version : 11
251
+ java-version : 17
255
252
- name : Create artifacts
256
253
run : ./gradlew assemble
257
254
- name : Install SSH key
0 commit comments