Skip to content

Commit

Permalink
ci: Use matrix for the OS
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Solórzano <[email protected]>
  • Loading branch information
jorsol committed Apr 20, 2024
1 parent 3ca52b7 commit 92b0f71
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:

jobs:
build:
runs-on: ["ubuntu-latest", "windows-latest"]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
Expand All @@ -21,7 +24,7 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: ./mvnw -B verify -Prun-its --file pom.xml
run: ./mvnw -B verify -Pchecks,run-its --file pom.xml

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
Expand Down

0 comments on commit 92b0f71

Please sign in to comment.