Skip to content

Commit 878610e

Browse files
committed
Update GitHub actions
1 parent 665c051 commit 878610e

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ name: Hibernate Reactive CI
33
on:
44
push:
55
branches:
6-
- wip/2.4
7-
tags:
8-
- '2.4.*'
6+
- wip/3.0
97
pull_request:
10-
branches:
11-
- wip/2.4
8+
branches: wip/3.0
129

1310
# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
1411
concurrency:
@@ -81,11 +78,11 @@ jobs:
8178
.gradle/wrapper
8279
# refresh cache every month to avoid unlimited growth
8380
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
84-
- name: Set up JDK 11
81+
- name: Set up JDK 17
8582
uses: actions/[email protected]
8683
with:
8784
distribution: 'temurin'
88-
java-version: 11
85+
java-version: 17
8986
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
9087
run: ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }}
9188
- name: Upload reports (if build failed)
@@ -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/[email protected]
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
@@ -188,14 +185,14 @@ jobs:
188185
- name: Export path to JDK ${{ matrix.java.name }}
189186
id: testjdk-exportpath
190187
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
193190
uses: actions/[email protected]
194191
with:
195192
distribution: 'temurin'
196-
java-version: 11
193+
java-version: 17
197194
check-latest: true
198-
- name: Export path to JDK 11
195+
- name: Export path to JDK 17
199196
id: mainjdk-exportpath
200197
run: echo "::set-output name=path::${JAVA_HOME}"
201198
- name: Display exact version of JDK ${{ matrix.java.name }}
@@ -223,7 +220,7 @@ jobs:
223220
uses: actions/[email protected]
224221
with:
225222
distribution: 'temurin'
226-
java-version: 11
223+
java-version: 17
227224
- name: Create artifacts
228225
run: ./gradlew assemble
229226
- name: Detect the version of Hibernate Reactive
@@ -251,7 +248,7 @@ jobs:
251248
uses: actions/[email protected]
252249
with:
253250
distribution: 'temurin'
254-
java-version: 11
251+
java-version: 17
255252
- name: Create artifacts
256253
run: ./gradlew assemble
257254
- name: Install SSH key

.github/workflows/tracking-orm-6.build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77
# but only for the main branch
88
push:
99
branches:
10-
- wip/2.4
10+
- wip/3.0
1111
pull_request:
1212
branches:
13-
- wip/2.4
13+
- wip/3.0
1414
schedule:
1515
# * is a special character in YAML, so you have to quote this string
1616
# Run every hour at minute 25

0 commit comments

Comments
 (0)