We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39aca7 commit 4ec615cCopy full SHA for 4ec615c
2 files changed
README.md
@@ -29,7 +29,7 @@ The replaced string.
29
## Example usage
30
31
```yaml
32
-uses: frabert/replace-string-action@v1.1
+uses: frabert/replace-string-action@v1.2
33
with:
34
pattern: 'Hello, (\w+)!'
35
string: 'Hello, world!'
index.js
@@ -3,8 +3,8 @@ const core = require('@actions/core');
3
try {
4
const pattern = core.getInput('pattern');
5
const string = core.getInput('string');
6
- const replaceWith = core.getInput('replace-with')
7
- const flags = core.getInput('flags')
+ const replaceWith = core.getInput('replace-with');
+ const flags = core.getInput('flags');
8
9
const regex = new RegExp(pattern, flags);
10
0 commit comments