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

bmarwell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 146ea1a  [BUILD] add OpenJ9 to build matrix (#152)
146ea1a is described below

commit 146ea1a223a6a1b732a5e57920353bf88e5a5e84
Author: Benjamin Marwell <[email protected]>
AuthorDate: Mon Mar 13 20:25:06 2023 +0100

    [BUILD] add OpenJ9 to build matrix (#152)
---
 .github/workflows/maven.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 294504a..7fcb50b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -26,6 +26,11 @@ jobs:
       matrix:
         os: [ ubuntu-latest, windows-latest, macOS-latest ]
         java: [ 8, 11, 17 ]
+        dist: [ 'temurin', 'adopt-openj9' ]
+        exclude:
+        - os: macos-latest
+          dist: 'adopt-openj9'
+
       fail-fast: false
 
     runs-on: ${{ matrix.os }}
@@ -39,14 +44,14 @@ jobs:
         if: ${{ matrix.java == '8' }}
         uses: actions/setup-java@v3
         with:
-          distribution: 'temurin'
+          distribution: ${{ matrix.dist }}
           java-version: 11
           cache: 'maven'
 
       - name: Set up JDK
         uses: actions/setup-java@v3
         with:
-          distribution: 'temurin'
+          distribution: ${{ matrix.dist }}
           java-version: ${{ matrix.java }}
           cache: 'maven'
 

Reply via email to