From 41d3738596d112427e33323a5a3d8dc12d56cb42 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 3 Oct 2023 11:39:46 +0200 Subject: [PATCH] Build on JDK 21 --- .github/workflows/master-build.yml | 31 +++--------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index 56e0fce62..3b08e9e33 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -30,8 +30,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, windows-latest ] - java: [ '11' ] + os: [ ubuntu-latest, windows-latest, macos-latest ] + java: [ '21' ] steps: - uses: actions/checkout@v2 @@ -48,29 +48,4 @@ jobs: ${{ matrix.os }}-maven- - name: Build with maven - run: mvn --activate-profiles ci --no-transfer-progress package -DskipTests - - test: - needs: compile - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ ubuntu-latest, windows-latest ] - java: [ '1.8', '11', '17' ] - steps: - - uses: actions/checkout@v2 - - - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 - with: - java-version: ${{ matrix.java }} - - - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: ${{ matrix.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ matrix.os }}-maven- - - - name: Build with maven - run: mvn --activate-profiles ci --no-transfer-progress package + run: mvn --activate-profiles ci --no-transfer-progress verify