mirror of
http://43.153.184.91:8080/https://github.com/s4u/setup-maven-action.git
synced 2026-01-27 11:13:00 +08:00
Configure custom maven repositories
This commit is contained in:
parent
25553285e3
commit
816f5e6ba8
@ -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
|
||||
|
||||
|
||||
@ -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 }}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user