Skip to content

Commit bf86a2d

Browse files
committed
Fix echo in CI
1 parent 33d40a7 commit bf86a2d

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
files: '["migrations/test.sql", "package.json"]'
1717
pattern: 'migrations'
1818
- name: Echo output
19-
run: echo "{{ steps.migrations.outputs.content }}"
19+
run: echo "${{ steps.migrations.outputs.content }}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
with:
1313
files: '["/migrations/001_initial.py", "/migrations/002_auto_2020_08_11_545462.py"]'
1414
- name: Echo migrations
15-
run: echo "{{ steps.migrations.outputs.content }}"
15+
run: echo "${{ steps.migrations.outputs.content }}"
1616
```
1717
1818
## License

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inputs:
1111
pattern:
1212
description: 'File pattern to match using RegEx'
1313
required: false
14-
default: ''
14+
default: '*'
1515
outputs:
1616
content:
1717
description: 'Concatenated content of the files'

dist/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ const main = () => {
6565

6666
const pattern = new RegExp(regularExpression);
6767

68-
console.log(filePaths, pattern);
69-
7068
const matchingFilePaths = filePaths
7169
.filter((filePath) => pattern.test(filePath));
7270

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ const main = () => {
99

1010
const pattern = new RegExp(regularExpression);
1111

12-
console.log(filePaths, pattern);
13-
1412
const matchingFilePaths = filePaths
1513
.filter((filePath) => pattern.test(filePath));
1614

0 commit comments

Comments
 (0)