Update CI to use Java 23 GA #1350
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run System Tests | |
| on: | |
| push: | |
| branches: | |
| - '3.2.x' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| run-system-tests: | |
| name: 'Java ${{ matrix.java.version}}' | |
| runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} | |
| if: ${{ github.repository == 'spring-projects/spring-boot' }} | |
| strategy: | |
| matrix: | |
| java: | |
| - version: 17 | |
| toolchain: false | |
| - version: 21 | |
| toolchain: true | |
| steps: | |
| - name: Check Out Code | |
| uses: actions/checkout@v4 | |
| - name: Prepare Gradle Build | |
| uses: ./.github/actions/prepare-gradle-build | |
| with: | |
| develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} | |
| java-version: ${{ matrix.java.version }} | |
| java-toolchain: ${{ matrix.java.toolchain }} | |
| - name: Run System Tests | |
| id: run-system-tests | |
| shell: bash | |
| run: ./gradlew systemTest | |
| - name: Send Notification | |
| uses: ./.github/actions/send-notification | |
| if: always() | |
| with: | |
| webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} | |
| status: ${{ job.status }} | |
| build-scan-url: ${{ steps.run-system-tests.outputs.build-scan-url }} | |
| run-name: ${{ format('{0} | System Tests | Java {1}', github.ref_name, matrix.java.version) }} |