Skip to content

Commit

Permalink
Fix echo in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
debugger22 committed Aug 11, 2020
1 parent 33d40a7 commit bf86a2d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
files: '["migrations/test.sql", "package.json"]'
pattern: 'migrations'
- name: Echo output
run: echo "{{ steps.migrations.outputs.content }}"
run: echo "${{ steps.migrations.outputs.content }}"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
with:
files: '["/migrations/001_initial.py", "/migrations/002_auto_2020_08_11_545462.py"]'
- name: Echo migrations
run: echo "{{ steps.migrations.outputs.content }}"
run: echo "${{ steps.migrations.outputs.content }}"
```
## License
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
pattern:
description: 'File pattern to match using RegEx'
required: false
default: ''
default: '*'
outputs:
content:
description: 'Concatenated content of the files'
Expand Down
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ const main = () => {

const pattern = new RegExp(regularExpression);

console.log(filePaths, pattern);

const matchingFilePaths = filePaths
.filter((filePath) => pattern.test(filePath));

Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const main = () => {

const pattern = new RegExp(regularExpression);

console.log(filePaths, pattern);

const matchingFilePaths = filePaths
.filter((filePath) => pattern.test(filePath));

Expand Down

0 comments on commit bf86a2d

Please sign in to comment.