@@ -3,11 +3,9 @@ name: Hibernate Reactive CI
33on :
44 push :
55 branches :
6- - main
7- tags :
8- - ' 2.*'
6+ - wip/orm7
97 pull_request :
10- branches : main
8+ branches : wip/orm7
119
1210# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
1311concurrency :
@@ -80,11 +78,11 @@ jobs:
8078 .gradle/wrapper
8179 # refresh cache every month to avoid unlimited growth
8280 key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
83- - name : Set up JDK 11
81+ - name : Set up JDK 17
8482 uses : actions/setup-java@v2.2.0
8583 with :
8684 distribution : ' temurin'
87- java-version : 11
85+ java-version : 17
8886 - name : Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
8987 run : ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }}
9088 - name : Upload reports (if build failed)
9997 runs-on : ubuntu-latest
10098 strategy :
10199 matrix :
102- # db: [ 'MariaDB', 'MySQL', 'PostgreSQL', 'DB2', 'CockroachDB', 'MSSQLServer', 'Oracle' ]
103100 db : [ 'MariaDB', 'MySQL', 'PostgreSQL', 'MSSQLServer', 'CockroachDB', 'Db2', 'Oracle' ]
104101 steps :
105102 - uses : actions/checkout@v2
@@ -118,11 +115,11 @@ jobs:
118115 .gradle/wrapper
119116 # refresh cache every month to avoid unlimited growth
120117 key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
121- - name : Set up JDK 11
118+ - name : Set up JDK 17
122119 uses : actions/setup-java@v2.2.0
123120 with :
124121 distribution : ' temurin'
125- java-version : 11
122+ java-version : 17
126123 - name : Build and Test with ${{ matrix.db }}
127124 run : ./gradlew build -PshowStandardOutput -Pdocker -Pdb=${{ matrix.db }}
128125 - name : Upload reports (if build failed)
@@ -145,7 +142,7 @@ jobs:
145142 # To see the available versions and download links on jdk.java.net:
146143 # https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
147144 java :
148- - { name: "11", java_version_numeric: 11 }
145+ # - { name: "11", java_version_numeric: 11 }
149146 - { name: "17", java_version_numeric: 17 }
150147 # We want to enable preview features when testing newer builds of OpenJDK:
151148 # even if we don't use these features, just enabling them can cause side effects
@@ -187,14 +184,14 @@ jobs:
187184 - name : Export path to JDK ${{ matrix.java.name }}
188185 id : testjdk-exportpath
189186 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
192189 uses : actions/setup-java@v2.2.0
193190 with :
194191 distribution : ' temurin'
195- java-version : 11
192+ java-version : 17
196193 check-latest : true
197- - name : Export path to JDK 11
194+ - name : Export path to JDK 17
198195 id : mainjdk-exportpath
199196 run : echo "::set-output name=path::${JAVA_HOME}"
200197 - name : Display exact version of JDK ${{ matrix.java.name }}
@@ -222,7 +219,7 @@ jobs:
222219 uses : actions/setup-java@v2.2.0
223220 with :
224221 distribution : ' temurin'
225- java-version : 11
222+ java-version : 17
226223 - name : Create artifacts
227224 run : ./gradlew assemble
228225 - name : Detect the version of Hibernate Reactive
@@ -250,7 +247,7 @@ jobs:
250247 uses : actions/setup-java@v2.2.0
251248 with :
252249 distribution : ' temurin'
253- java-version : 11
250+ java-version : 17
254251 - name : Create artifacts
255252 run : ./gradlew assemble
256253 - name : Install SSH key
0 commit comments