Update README.md
This commit is contained in:
parent
ba0dd99ea1
commit
ad33a235d2
13
README.md
13
README.md
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user