Skip to content

Commit 844dff1

Browse files
committed
small update
1 parent 8468d79 commit 844dff1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ jobs:
1818
- uses: actions/checkout@v2
1919

2020
- name: Check content
21-
uses: bubriks/[email protected].2
21+
uses: bubriks/[email protected].3
2222
with:
2323
expression: ^contributions/(.+)/(.+)/
24-
strings: contributions/1/2/ contributions/1/2/
24+
strings: contributions/1/2/test contributions/1/2/
2525
```
2626
2727
#### Result from example
2828
2929
```
30-
('1', '2')
30+
groups::1 2
31+
result::contributions/1/2/
3132
```
3233

3334
### Inputs

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def main():
2121
else:
2222
sys.exit("String doesnt match the pattern" +
2323
"\nString: " + i)
24-
print(f"::set-output name=groups::{match.groups()}")
24+
print(f"::set-output name=groups::{' '.join(match.groups())}")
2525
print(f"::set-output name=result::{match.group(0)}")
2626

2727

0 commit comments

Comments
 (0)