Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 12, 2022
1 parent ba0dd99 commit ad33a23
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -76,6 +76,19 @@ jobs:
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
- name: Get changed files in a specific directory
id: changed-files-specific
uses: tj-actions/changed-files@v29.0.4
with:
files: |
docs/**
- name: Run step if any file(s) in the docs folder change
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
echo "One or more files in the docs folder has changed."
echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_changed_files }}"
```

If you feel generous and want to show some extra appreciation:
Expand Down

0 comments on commit ad33a23

Please sign in to comment.