Skip to content

Commit 0baf42f

Browse files
committed
[#1930] Update GitHub action to build and release snapshots
1 parent 68865f8 commit 0baf42f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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
22
name: Hibernate Reactive CI
33

44
on:
55
push:
66
branches:
7-
- wip/2.4
7+
- wip/3.0
88
pull_request:
9-
branches: wip/2.4
9+
branches: wip/3.0
1010
schedule:
1111
# * is a special character in YAML, so you have to quote this string
1212
# Run every hour at minute 25
@@ -85,11 +85,11 @@ jobs:
8585
.gradle/wrapper
8686
# refresh cache every month to avoid unlimited growth
8787
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
88-
- name: Set up JDK 11
88+
- name: Set up JDK 17
8989
uses: actions/[email protected]
9090
with:
9191
distribution: 'temurin'
92-
java-version: 11
92+
java-version: 17
9393
- name: Print the effective ORM version used
9494
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
9595
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -124,11 +124,11 @@ jobs:
124124
.gradle/wrapper
125125
# refresh cache every month to avoid unlimited growth
126126
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
127-
- name: Set up JDK 11
127+
- name: Set up JDK 17
128128
uses: actions/[email protected]
129129
with:
130130
distribution: 'temurin'
131-
java-version: 11
131+
java-version: 17
132132
- name: Print the effective ORM version used
133133
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
134134
- name: Build and Test with ${{ matrix.db }}
@@ -153,7 +153,7 @@ jobs:
153153
# To see the available versions and download links on jdk.java.net:
154154
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
155155
java:
156-
- { name: "11", java_version_numeric: 11 }
156+
# - { name: "11", java_version_numeric: 11 }
157157
- { name: "17", java_version_numeric: 17 }
158158
# We want to enable preview features when testing newer builds of OpenJDK:
159159
# even if we don't use these features, just enabling them can cause side effects
@@ -196,14 +196,14 @@ jobs:
196196
- name: Export path to JDK ${{ matrix.java.name }}
197197
id: testjdk-exportpath
198198
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
201201
uses: actions/[email protected]
202202
with:
203203
distribution: 'temurin'
204-
java-version: 11
204+
java-version: 17
205205
check-latest: true
206-
- name: Export path to JDK 11
206+
- name: Export path to JDK 17
207207
id: mainjdk-exportpath
208208
run: echo "::set-output name=path::${JAVA_HOME}"
209209
- name: Display exact version of JDK ${{ matrix.java.name }}
@@ -229,11 +229,11 @@ jobs:
229229
runs-on: ubuntu-latest
230230
steps:
231231
- uses: actions/checkout@v2
232-
- name: Set up JDK 11
232+
- name: Set up JDK 17
233233
uses: actions/[email protected]
234234
with:
235235
distribution: 'temurin'
236-
java-version: 11
236+
java-version: 17
237237
- name: Create artifacts
238238
run: ./gradlew assemble
239239
- name: Detect the version of Hibernate Reactive

0 commit comments

Comments
 (0)