support adding settings-path for settings.xml (#95)

Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>
This commit is contained in:
Mohammad Naser Alkhatib 2024-11-03 19:54:58 +03:00 committed by GitHub
parent 7520fcc0b4
commit 382542f776
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,7 @@ So we can use for action:
| settings-proxies | proxies |
| settings-repositories | repositories |
| settings-githubServer | githubServer |
| settings-path | path |
# Testing against different Maven versions

View File

@ -115,6 +115,10 @@ inputs:
default: "true"
required: false
settings-path:
description: 'override default path to settings.xml which is $HOME/.m2/settings.xml'
required: false
runs:
using: 'composite'
@ -166,3 +170,4 @@ runs:
proxies: '${{ inputs.settings-proxies }}'
repositories: '${{ inputs.settings-repositories }}'
githubServer: '${{ inputs.settings-githubServer }}'
path: '${{ inputs.settings-path }}'