Skip to content

Commit

Permalink
Disable fail fast
Browse files Browse the repository at this point in the history
Test on Java 21 and latest Ubuntu
Updated pipeline components
  • Loading branch information
dan2097 committed Jul 21, 2024
1 parent 079f90a commit 3b17570
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# test against latest update of each major Java version:
java: [ 8, 11, 17 ]
java: [ 8, 11, 17, 21]
# test against major operating systems
os: [ubuntu-20.04, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
name: Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Maven
run: mvn -B clean package

0 comments on commit 3b17570

Please sign in to comment.