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 65f62be mvn args as an input 65f62be is described below commit 65f62beec595dbfb961d2dcc257451240af94242 Author: Olivier Lamy <ol...@apache.org> AuthorDate: Fri Oct 15 11:57:03 2021 +1000 mvn args as an input Signed-off-by: Olivier Lamy <ol...@apache.org> --- .github/workflows/maven-verify-with-its.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-verify-with-its.yml b/.github/workflows/maven-verify-with-its.yml index 4424a40..8bb287c 100644 --- a/.github/workflows/maven-verify-with-its.yml +++ b/.github/workflows/maven-verify-with-its.yml @@ -20,6 +20,12 @@ name: Verify on: workflow_call: inputs: + 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" verify + type: string + os-matrix: description: 'os matrix as json array' default: '[ "ubuntu-latest", "windows-latest", "macOS-latest" ]' @@ -89,4 +95,4 @@ jobs: run: mvn --errors --batch-mode --show-version -P run-its -D"invoker.streamLogsOnFailures" verify - name: Build Maven Site - run: mvn --errors --batch-mode --show-version site + run: mvn ${{ inputs.maven_args }}