File tree Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 16
16
files : ' ["migrations/test.sql", "package.json"]'
17
17
pattern : ' migrations'
18
18
- name : Echo output
19
- run : echo "{{ steps.migrations.outputs.content }}"
19
+ run : echo "$ {{ steps.migrations.outputs.content }}"
Original file line number Diff line number Diff line change 12
12
with :
13
13
files : ' ["/migrations/001_initial.py", "/migrations/002_auto_2020_08_11_545462.py"]'
14
14
- name : Echo migrations
15
- run : echo "{{ steps.migrations.outputs.content }}"
15
+ run : echo "$ {{ steps.migrations.outputs.content }}"
16
16
` ` `
17
17
18
18
## License
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ inputs:
11
11
pattern :
12
12
description : ' File pattern to match using RegEx'
13
13
required : false
14
- default : ' '
14
+ default : ' * '
15
15
outputs :
16
16
content :
17
17
description : ' Concatenated content of the files'
Original file line number Diff line number Diff line change @@ -65,8 +65,6 @@ const main = () => {
65
65
66
66
const pattern = new RegExp ( regularExpression ) ;
67
67
68
- console . log ( filePaths , pattern ) ;
69
-
70
68
const matchingFilePaths = filePaths
71
69
. filter ( ( filePath ) => pattern . test ( filePath ) ) ;
72
70
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ const main = () => {
9
9
10
10
const pattern = new RegExp ( regularExpression ) ;
11
11
12
- console . log ( filePaths , pattern ) ;
13
-
14
12
const matchingFilePaths = filePaths
15
13
. filter ( ( filePath ) => pattern . test ( filePath ) ) ;
16
14
You can’t perform that action at this time.
0 commit comments