mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-19 00:00:25 +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:
|
This action setup maven environment for use in action by:
|
||||||
- create maven settings.xml
|
- create maven settings.xml
|
||||||
- set ```interactiveMode``` to false - useful in CI system
|
- 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
|
# Usage
|
||||||
See [action.yml](action.yml)
|
See [action.yml](action.yml)
|
||||||
@ -38,6 +39,15 @@ steps:
|
|||||||
sonatypeSnapshots: true
|
sonatypeSnapshots: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Override existing existing ```settings.xml```:
|
||||||
|
```yml
|
||||||
|
steps:
|
||||||
|
- uses: s4u/maven-settings-action@v1
|
||||||
|
with:
|
||||||
|
override: true
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||||
|
|||||||
@ -16,6 +16,10 @@ inputs:
|
|||||||
description: 'add https://oss.sonatype.org/content/repositories/snapshots to repository list - true or false'
|
description: 'add https://oss.sonatype.org/content/repositories/snapshots to repository list - true or false'
|
||||||
default: "false"
|
default: "false"
|
||||||
required: false
|
required: false
|
||||||
|
override:
|
||||||
|
description: 'override existing settings.xml file'
|
||||||
|
default: "false"
|
||||||
|
required: false
|
||||||
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
|
|||||||
Reference in New Issue
Block a user