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 2023/12/05 13:39:49 UTC

(xmlgraphics-commons) 01/01: Add windows to ci

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

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

commit 9ecd29252fa15e34c7442a18cf338bd6c547ab65
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Tue Dec 5 13:37:58 2023 +0000

    Add windows to ci
---
 .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 d8cd3a5..d252e55 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


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