Skip to content

Commit

Permalink
Merge pull request #174 from zxiiro/fix-pom-file-parameter
Browse files Browse the repository at this point in the history
Fix: Use the Maven pom file provided by input
  • Loading branch information
zxiiro authored Jul 24, 2024
2 parents 01288ad + 3e7ece0 commit 4900049
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/actions/maven-build-action/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inputs:
-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
-DaltDeploymentRepository=staging::default::file:"${GITHUB_WORKSPACE}"/m2repo
mvn-pom-file:
description: "Directory with pom.xml"
description: "Path to pom.xml file."
required: false
default: "pom.xml"
mvn-profiles:
Expand Down Expand Up @@ -92,6 +92,7 @@ runs:
cat global-settings.xml
mvn ${{ inputs.mvn-phases }} \
-f ${{ inputs.mvn-pom-file }} \
-e \
--global-settings global-settings.xml \
-DaltDeploymentRepository=staging::default::file:"${GITHUB_WORKSPACE}"/m2repo \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compose-maven-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ on:
# yamllint enable rule:line-length
type: string
MVN_POM_FILE:
description: "Directory with pom.xml"
description: "Path to pom.xml file."
required: false
default: "pom.xml"
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compose-maven-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ on:
# yamllint enable rule:line-length
type: string
MVN_POM_FILE:
description: "Directory with pom.xml"
description: "Path to pom.xml file."
required: false
default: "pom.xml"
type: string
Expand Down

0 comments on commit 4900049

Please sign in to comment.