mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
documentation about override
This commit is contained in:
10
README.md
10
README.md
@ -4,6 +4,7 @@
|
||||
This action setup maven environment for use in action by:
|
||||
- create maven settings.xml
|
||||
- set ```interactiveMode``` to false - useful in CI system
|
||||
- after job finish generated settings.xml will be removed to prevent cache or left sensitive data on build system
|
||||
|
||||
# Usage
|
||||
See [action.yml](action.yml)
|
||||
@ -38,6 +39,15 @@ steps:
|
||||
sonatypeSnapshots: true
|
||||
```
|
||||
|
||||
Override existing existing ```settings.xml```:
|
||||
```yml
|
||||
steps:
|
||||
- uses: s4u/maven-settings-action@v1
|
||||
with:
|
||||
override: true
|
||||
```
|
||||
|
||||
|
||||
# License
|
||||
|
||||
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||
|
||||
Reference in New Issue
Block a user