Update examples in README.md

This commit is contained in:
Riccardo Rigutini 2023-09-25 21:58:42 +02:00 committed by GitHub
parent 76a6ae3126
commit a839c172ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ It can be useful for automating repetitive tasks such as updating version number
# Replace all the occurrences of 'hello' with 'world' in all the txt files,
# excluding the node_modules folder
- name: Replace multiple files
uses: richardrigutins/replace-in-files@v1
uses: richardrigutins/replace-in-files@v2
with:
files: '**/*.txt'
search-text: 'hello'
@ -44,7 +44,7 @@ It can be useful for automating repetitive tasks such as updating version number
# Replace all the occurrences of '{0}' with '42' in the README.md file
- name: Replace single file
uses: richardrigutins/replace-in-files@v1
uses: richardrigutins/replace-in-files@v2
with:
files: 'README.md'
search-text: '{0}'