From 382542f77617f34e56bf83868920a4d45b7451e7 Mon Sep 17 00:00:00 2001 From: Mohammad Naser Alkhatib <136242217+khatib-moh@users.noreply.github.com> Date: Sun, 3 Nov 2024 19:54:58 +0300 Subject: [PATCH] support adding settings-path for settings.xml (#95) Co-authored-by: Slawomir Jaranowski --- README.md | 1 + action.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 2504efd..d4e2271 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index 5091cf7..67f33a8 100644 --- a/action.yml +++ b/action.yml @@ -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 }}'