From 816f5e6ba842fec010bafb42fd6b248db32439bc Mon Sep 17 00:00:00 2001 From: Rennan Felizardo Date: Mon, 24 Jun 2024 12:24:00 +0100 Subject: [PATCH] Configure custom maven repositories --- README.md | 1 + action.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index b1571e4..0490651 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ So we can use for action: | settings-properties | properties | | settings-sonatypeSnapshots | sonatypeSnapshots | | settings-proxies | proxies | +| settings-repositories | repositories | # Testing against different Maven versions diff --git a/action.yml b/action.yml index 1524933..ad65ea8 100644 --- a/action.yml +++ b/action.yml @@ -93,6 +93,10 @@ inputs: description: 'proxies definition in json array, e.g.: [{"id": "http-proxy", "active": "true", "protocol": "http", "host": "host", "port": "port", "nonProxyHosts": "host1|host2"}]' required: false + settings-repositories: + description: 'repository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]' + required: false + runs: using: 'composite' @@ -139,3 +143,4 @@ runs: properties: '${{ inputs.settings-properties }}' sonatypeSnapshots: '${{ inputs.settings-sonatypeSnapshots }}' proxies: '${{ inputs.settings-proxies }}' + repositories: '${{ inputs.settings-repositories }}'