You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2024/01/22 13:39:46 UTC

(xmlgraphics-batik) 01/01: Test on java 11 and 17

This is an automated email from the ASF dual-hosted git repository.

ssteiner pushed a commit to branch temp/ssteiner-java17
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-batik.git

commit d3604a45047201253da7c4d6596e404a18756dc5
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Mon Jan 22 13:39:02 2024 +0000

    Test on java 11 and 17
---
 .github/workflows/maven.yml | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 095eeb628..032cf8e51 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', '11', '17']
+        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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org