aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/maven.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/maven.yml')
-rw-r--r--.github/workflows/maven.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c627bdb83..661a55573 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -11,15 +11,20 @@ on:
jobs:
build:
-
- runs-on: ubuntu-latest
+ name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ jdk: ['8']
+ os: [ubuntu-latest, windows-latest]
steps:
- - uses: actions/checkout@v3
- - name: Set up JDK 8
+ - uses: actions/checkout@v4
+ - name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
- java-version: '8'
+ java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
- name: Build with Maven