Skip to content

Commit 51330c5

Browse files
authored
Update README.md
1 parent 7b92155 commit 51330c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ jobs:
124124
echo "List all the files that have changed: ${{ steps.changed-files-specific.outputs.all_changed_files }}"
125125
126126
# Example 3
127-
- name: Get all changed *.js file(s) or any file in the static folder excluding the docs folder
127+
- name: Get all changed .js file(s) or any file in the static folder excluding the docs folder
128128
id: changed-files-excluded
129129
uses: tj-actions/changed-files@v36
130130
with:
131131
files: |
132-
**/*.js
132+
**.js
133133
static
134134
files_ignore: docs
135135

136-
- name: Run step if any *.js file(s) or any file in the static folder change
136+
- name: Run step if any .js file(s) or any file in the static folder change
137137
if: steps.changed-files-excluded.outputs.any_changed == 'true'
138138
run: |
139-
echo "One or more *.js file(s) or any file in the static folder but not in the doc folder has changed."
139+
echo "One or more .js file(s) or any file in the static folder but not in the doc folder has changed."
140140
echo "List all the files that have changed: ${{ steps.changed-files-excluded.outputs.all_changed_files }}"
141141
```
142142

0 commit comments

Comments
 (0)