Add support for custom repositories

This commit is contained in:
Florian Mueller
2023-12-21 00:04:50 +01:00
committed by Slawomir Jaranowski
parent 25432ff633
commit 879f94d6bf
7 changed files with 166 additions and 14 deletions

View File

@ -168,6 +168,15 @@ steps:
oracleRepo: true
```
## ```settings.xml``` with custom repositories
```yml
steps:
- uses: s4u/maven-settings-action@v2.8.0
with:
repositories: '[{"id":"repoId","name":"repoName","url":"url","snapshots":{"enabled":true}}]'
```
## GitHub actions secrets
It is also possible pass in Github Secrets e.g.