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

sjaranowski pushed a commit to branch build-only-first-job
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git

commit e401a1826c3ba9c26c3013a15bc97910bfeb6dc7
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sun Jun 2 10:05:59 2024 +0200

    Use only first job for build on GitHub
---
 .github/workflows/maven-verify.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/maven-verify.yml 
b/.github/workflows/maven-verify.yml
index 932827c..73112da 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -25,3 +25,12 @@ jobs:
   build:
     name: Verify
     uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
+    with:
+      # exclude everything from matrix :-)
+      # first job is enough here
+      matrix-exclude: >
+        [ 
+          {"os": "ubuntu-latest"},
+          {"os": "windows-latest"},
+          {"os": "macos-latest"}
+        ]
\ No newline at end of file

Reply via email to