File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
18
18
- uses : actions/checkout@v2
19
19
20
20
- name : Check content
21
-
21
+
22
22
with :
23
23
expression : ^contributions/(.+)/(.+)/
24
- strings : contributions/1/2/ contributions/1/2/
24
+ strings : contributions/1/2/test contributions/1/2/
25
25
` ` `
26
26
27
27
#### Result from example
28
28
29
29
` ` `
30
- ('1', '2')
30
+ groups::1 2
31
+ result::contributions/1/2/
31
32
```
32
33
33
34
### Inputs
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def main():
21
21
else :
22
22
sys .exit ("String doesnt match the pattern" +
23
23
"\n String: " + i )
24
- print (f"::set-output name=groups::{ match .groups ()} " )
24
+ print (f"::set-output name=groups::{ ' ' . join ( match .groups () )} " )
25
25
print (f"::set-output name=result::{ match .group (0 )} " )
26
26
27
27
You can’t perform that action at this time.
0 commit comments