You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/07/02 22:19:59 UTC
(maven-gh-actions-shared) branch only-ff updated (fef4f96 -> 504f2e7)
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a change to branch only-ff
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
discard fef4f96 Allow to disable matrix build
new 504f2e7 Allow to disable matrix build
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fef4f96)
\
N -- N -- N refs/heads/only-ff (504f2e7)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/maven-verify-test.yml | 1 +
1 file changed, 1 insertion(+)
(maven-gh-actions-shared) 01/01: Allow to disable matrix build
Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch only-ff
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit 504f2e792802e4bd7a033e3d693c8ead4159ae7e
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Wed Jul 3 00:02:10 2024 +0200
Allow to disable matrix build
---
.github/workflows/maven-verify-test.yml | 9 +++++++++
.github/workflows/maven-verify.yml | 8 +++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven-verify-test.yml b/.github/workflows/maven-verify-test.yml
index deab43f..8a1ada7 100644
--- a/.github/workflows/maven-verify-test.yml
+++ b/.github/workflows/maven-verify-test.yml
@@ -59,3 +59,12 @@ jobs:
maven4-enabled: true
ff-run: false
verify-goal: verify
+
+ # test only fail fast job
+ verify-5:
+ name: Verify 5 - disable matrix build
+ uses: ./.github/workflows/maven-verify.yml
+ needs: verify-4
+ with:
+ ff-site-run: false
+ matrix-enabled: false
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 5e921cb..ad8bec7 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -74,6 +74,12 @@ on:
default: '[]'
type: string
+ matrix-enabled:
+ description: Determinate if use matrix build
+ required: false
+ default: true
+ type: boolean
+
max-parallel:
description: max parallel jobs
required: false
@@ -243,7 +249,7 @@ jobs:
setup-matrix:
runs-on: "ubuntu-latest"
needs: fail-fast-build
- if: always() && ( !inputs.ff-run || needs.fail-fast-build.result == 'success' )
+ if: always() && inputs.matrix-enabled && ( !inputs.ff-run || needs.fail-fast-build.result == 'success' )
outputs:
maven: ${{ steps.maven.outputs.matrix }}
exclude: ${{ steps.exclude.outputs.matrix }}