You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/03/29 11:00:13 UTC

[commons-net] branch master updated: Update maven.yml

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 9528457  Update maven.yml
9528457 is described below

commit 95284574598f68bd1db58eaff7cc88758a7e6421
Author: sebbASF <se...@users.noreply.github.com>
AuthorDate: Tue Mar 29 11:59:02 2022 +0100

    Update maven.yml
    
    Add macos build
    
    Allow local trigger
---
 .github/workflows/maven.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c7d8c62..b74fd4d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,22 +15,22 @@
 
 name: Java CI
 
-on: [push, pull_request]
+on: [push, pull_request, workflow_dispatch]
 
 jobs:
   build:
-
-    runs-on: ubuntu-latest
     timeout-minutes: 5
     continue-on-error: ${{ matrix.experimental }}
     strategy:
       matrix:
         java: [ 8, 11, 17 ]
+        os: [ubuntu-latest, macos-latest]
         experimental: [false]
 #        include:
 #          - java: 18-ea
 #            experimental: true        
 
+    runs-on: ${{ matrix.os }}
     steps:
     - uses: actions/checkout@v3
     - uses: actions/cache@v3