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:
1818 - uses : actions/checkout@v2
1919
2020 - name : Check content
21- 21+ 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
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def main():
2121 else :
2222 sys .exit ("String doesnt match the pattern" +
2323 "\n String: " + 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
You can’t perform that action at this time.
0 commit comments