Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd authored Jun 13, 2023
1 parent 8451be6 commit d19f19f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
uses: GuillaumeFalourd/replace-values-action@v1
with:
file_path: ./path/to/file
current_value: value1
new_value: value2
parameters: value1::value2
```
### Multiline values
Expand All @@ -26,21 +25,18 @@
uses: GuillaumeFalourd/replace-values-action@v1
with:
file_path: ./path/to/file
current_value: |
current_value_1
current_value_2
new_value: |
new_value_1
new_value_2
parameters: |
current_value_1::new_value_1
current_value_2::new_value_2
```
## ▶️ Action Inputs
Field | Mandatory | Observation
------------ | ------------ | -------------
**file_path** | YES | Path to the file to update.
**current_value** | YES | Value(s) to replace.
**new_value** | YES | New value(s) to set in the informed file, in the same order.
**parameters** | YES | value_to_replace::new_value (can be an array)
## 🤝 Contributing
Expand Down

0 comments on commit d19f19f

Please sign in to comment.