Skip to content

Commit 61a250b

Browse files
committed
Update GitHub actions
1 parent f3650ec commit 61a250b

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

.github/workflows/build.yml

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

1210
# See https://github.com/hibernate/hibernate-orm/pull/4615 for a description of the behavior we're getting.
1311
concurrency:
@@ -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)
@@ -117,11 +115,11 @@ jobs:
117115
.gradle/wrapper
118116
# refresh cache every month to avoid unlimited growth
119117
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
120-
- name: Set up JDK 11
118+
- name: Set up JDK 17
121119
uses: actions/setup-java@v2.2.0
122120
with:
123121
distribution: 'temurin'
124-
java-version: 11
122+
java-version: 17
125123
- name: Build and Test with ${{ matrix.db }}
126124
run: ./gradlew build -PshowStandardOutput -Pdocker -Pdb=${{ matrix.db }}
127125
- name: Upload reports (if build failed)
@@ -144,7 +142,7 @@ jobs:
144142
# To see the available versions and download links on jdk.java.net:
145143
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
146144
java:
147-
- { name: "11", java_version_numeric: 11 }
145+
# - { name: "11", java_version_numeric: 11 }
148146
- { name: "17", java_version_numeric: 17 }
149147
# We want to enable preview features when testing newer builds of OpenJDK:
150148
# even if we don't use these features, just enabling them can cause side effects
@@ -187,14 +185,14 @@ jobs:
187185
- name: Export path to JDK ${{ matrix.java.name }}
188186
id: testjdk-exportpath
189187
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
188+
# Always use JDK 17 to build the main code: that's what we use for releases.
189+
- name: Set up JDK 17
192190
uses: actions/setup-java@v2.2.0
193191
with:
194192
distribution: 'temurin'
195-
java-version: 11
193+
java-version: 17
196194
check-latest: true
197-
- name: Export path to JDK 11
195+
- name: Export path to JDK 17
198196
id: mainjdk-exportpath
199197
run: echo "::set-output name=path::${JAVA_HOME}"
200198
- name: Display exact version of JDK ${{ matrix.java.name }}
@@ -222,7 +220,7 @@ jobs:
222220
uses: actions/setup-java@v2.2.0
223221
with:
224222
distribution: 'temurin'
225-
java-version: 11
223+
java-version: 17
226224
- name: Create artifacts
227225
run: ./gradlew assemble
228226
- name: Detect the version of Hibernate Reactive
@@ -250,7 +248,7 @@ jobs:
250248
uses: actions/setup-java@v2.2.0
251249
with:
252250
distribution: 'temurin'
253-
java-version: 11
251+
java-version: 17
254252
- name: Create artifacts
255253
run: ./gradlew assemble
256254
- 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-
- main
10+
- wip/3.0
1111
pull_request:
1212
branches:
13-
- main
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)