mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
Add support for custom repositories
This commit is contained in:
committed by
Slawomir Jaranowski
parent
25432ff633
commit
879f94d6bf
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user