We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d124f9d commit 5fd254cCopy full SHA for 5fd254c
1 file changed
.github/workflows/maven-build.yml
@@ -1,13 +1,13 @@
1
-name: Maven Build (mvn verify)
+name: Maven Build
2
3
on:
4
workflow_call:
5
inputs:
6
- mavenGoal:
+ mavenPhases:
7
type: string
8
- description: "Maven goal(s) to execute"
+ description: "Maven phases to execute"
9
required: false
10
- default: "clean verify site"
+ default: "verify site"
11
jdkVersion:
12
13
description: "Version of the JDK to setup and use"
@@ -63,4 +63,4 @@ jobs:
63
if: ${{ inputs.debug == 'true' }}
64
65
- name: Build with Maven
66
- run: mvn ${{ env.debugFlag }} --batch-mode ${{ inputs.mavenGoal }} --file pom.xml
+ run: mvn ${{ env.debugFlag }} --batch-mode --file pom.xml clean ${{ inputs.mavenPhases }}
0 commit comments