You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2021/10/19 11:31:26 UTC
[maven-gh-actions-shared] branch main updated: Move common flags
from maven_args to steps command (#9)
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new 941689e Move common flags from maven_args to steps command (#9)
941689e is described below
commit 941689e4d757653ca547021afab8d9c7050cf33c
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Oct 19 13:31:21 2021 +0200
Move common flags from maven_args to steps command (#9)
---
.github/workflows/maven-verify-with-its.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/maven-verify-with-its.yml b/.github/workflows/maven-verify-with-its.yml
index 3a344b1..a5756f3 100644
--- a/.github/workflows/maven-verify-with-its.yml
+++ b/.github/workflows/maven-verify-with-its.yml
@@ -23,7 +23,7 @@ on:
maven_args:
description: The arguments to pass to Maven when building the code
required: false
- default: --errors --batch-mode --show-version -P run-its -D"invoker.streamLogsOnFailures"
+ default: -P run-its -D"invoker.streamLogsOnFailures"
type: string
os-matrix:
@@ -97,7 +97,7 @@ jobs:
cache: 'maven'
- name: Build with Maven
- run: mvn ${{ inputs.maven_args }} verify
+ run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }} verify
verify:
needs: [ setup, build ]
@@ -125,7 +125,7 @@ jobs:
cache: 'maven'
- name: Build with Maven
- run: mvn ${{ inputs.maven_args }} verify
+ run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }} verify
- name: Build Maven Site
- run: mvn ${{ inputs.maven_args }} site
+ run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }} site