Skip to content

Commit

Permalink
Build using JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Dec 2, 2024
1 parent aa5dd85 commit 3a1e1a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ jobs:
.gradle/wrapper
# refresh cache every month to avoid unlimited growth
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2.2.0
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Print the effective ORM version used
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
Expand Down Expand Up @@ -136,11 +136,11 @@ jobs:
.gradle/wrapper
# refresh cache every month to avoid unlimited growth
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2.2.0
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Print the effective ORM version used
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
- name: Build and Test with ${{ matrix.db }}
Expand All @@ -165,7 +165,7 @@ jobs:
# To see the available versions and download links on jdk.java.net:
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
java:
- { name: "11", java_version_numeric: 11 }
#- { name: "11", java_version_numeric: 11 }
- { name: "17", java_version_numeric: 17 }
# We want to enable preview features when testing newer builds of OpenJDK:
# even if we don't use these features, just enabling them can cause side effects
Expand Down Expand Up @@ -245,11 +245,11 @@ jobs:
id: testjdk-exportpath
run: echo "::set-output name=path::${JAVA_HOME}"
# Always use JDK 11 to build the main code: that's what we use for releases.
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2.2.0
with:
distribution: 'temurin'
java-version: 11
java-version: 17
check-latest: true
- name: Export path to JDK 11
id: mainjdk-exportpath
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-snapshots:
strategy:
matrix:
branch: [ 'wip/2.3', 'wip/2.4' ]
branch: [ 'wip/2.3', 'wip/2.4', 'wip/3.0' ]
uses: ./.github/workflows/build.yml
with:
branch: ${{ matrix.branch }}

0 comments on commit 3a1e1a9

Please sign in to comment.