Skip to content

Commit 5fd254c

Browse files
authored
Update maven-build.yml to rename mavenGoal to mavenPhases
1 parent d124f9d commit 5fd254c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Maven Build (mvn verify)
1+
name: Maven Build
22

33
on:
44
workflow_call:
55
inputs:
6-
mavenGoal:
6+
mavenPhases:
77
type: string
8-
description: "Maven goal(s) to execute"
8+
description: "Maven phases to execute"
99
required: false
10-
default: "clean verify site"
10+
default: "verify site"
1111
jdkVersion:
1212
type: string
1313
description: "Version of the JDK to setup and use"
@@ -63,4 +63,4 @@ jobs:
6363
if: ${{ inputs.debug == 'true' }}
6464

6565
- name: Build with Maven
66-
run: mvn ${{ env.debugFlag }} --batch-mode ${{ inputs.mavenGoal }} --file pom.xml
66+
run: mvn ${{ env.debugFlag }} --batch-mode --file pom.xml clean ${{ inputs.mavenPhases }}

0 commit comments

Comments
 (0)