diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27c99abfe..7cb330fb1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,12 @@ -# GitHub actions for branch testing the latest Hibernate ORM 6.6 snapshot +# GitHub actions for branch testing the latest Hibernate ORM 7.0 snapshot name: Hibernate Reactive CI on: push: branches: - - wip/2.4 + - wip/3.0 pull_request: - branches: wip/2.4 + branches: wip/3.0 schedule: # * is a special character in YAML, so you have to quote this string # Run every hour at minute 25 @@ -85,11 +85,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 }} @@ -124,11 +124,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 }} @@ -153,7 +153,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 @@ -196,14 +196,14 @@ jobs: - name: Export path to JDK ${{ matrix.java.name }} 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 + # Always use JDK 17 to build the main code: that's what we use for releases. + - 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 + - name: Export path to JDK 17 id: mainjdk-exportpath run: echo "::set-output name=path::${JAVA_HOME}" - name: Display exact version of JDK ${{ matrix.java.name }} @@ -229,11 +229,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - 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: Create artifacts run: ./gradlew assemble - name: Detect the version of Hibernate Reactive