@@ -3,11 +3,9 @@ name: Hibernate Reactive CI
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
- tags :
8
- - ' 2.*'
6
+ - wip/orm7
9
7
pull_request :
10
- branches : main
8
+ branches : wip/orm7
11
9
12
10
# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
13
11
concurrency :
@@ -80,11 +78,11 @@ jobs:
80
78
.gradle/wrapper
81
79
# refresh cache every month to avoid unlimited growth
82
80
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
83
- - name : Set up JDK 11
81
+ - name : Set up JDK 17
84
82
85
83
with :
86
84
distribution : ' temurin'
87
- java-version : 11
85
+ java-version : 17
88
86
- name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
89
87
run : ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }}
90
88
- name : Upload reports (if build failed)
99
97
runs-on : ubuntu-latest
100
98
strategy :
101
99
matrix :
102
- # db: [ 'MariaDB', 'MySQL', 'PostgreSQL', 'DB2', 'CockroachDB', 'MSSQLServer', 'Oracle' ]
103
100
db : [ 'MariaDB', 'MySQL', 'PostgreSQL', 'MSSQLServer', 'CockroachDB', 'Db2', 'Oracle' ]
104
101
steps :
105
102
- uses : actions/checkout@v2
@@ -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
@@ -187,14 +184,14 @@ jobs:
187
184
- name : Export path to JDK ${{ matrix.java.name }}
188
185
id : testjdk-exportpath
189
186
run : echo "::set-output name=path::${JAVA_HOME}"
190
- # Always use JDK 11 to build the main code: that's what we use for releases.
191
- - name : Set up JDK 11
187
+ # Always use JDK 17 to build the main code: that's what we use for releases.
188
+ - name : Set up JDK 17
192
189
193
190
with :
194
191
distribution : ' temurin'
195
- java-version : 11
192
+ java-version : 17
196
193
check-latest : true
197
- - name : Export path to JDK 11
194
+ - name : Export path to JDK 17
198
195
id : mainjdk-exportpath
199
196
run : echo "::set-output name=path::${JAVA_HOME}"
200
197
- name : Display exact version of JDK ${{ matrix.java.name }}
@@ -222,7 +219,7 @@ jobs:
222
219
223
220
with :
224
221
distribution : ' temurin'
225
- java-version : 11
222
+ java-version : 17
226
223
- name : Create artifacts
227
224
run : ./gradlew assemble
228
225
- name : Detect the version of Hibernate Reactive
@@ -250,7 +247,7 @@ jobs:
250
247
251
248
with :
252
249
distribution : ' temurin'
253
- java-version : 11
250
+ java-version : 17
254
251
- name : Create artifacts
255
252
run : ./gradlew assemble
256
253
- name : Install SSH key
0 commit comments