Skip to content

Commit

Permalink
Build on JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 3, 2023
1 parent 7a90715 commit 41d3738
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 41d3738

Please sign in to comment.