mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-21 05:28:14 +00:00
Update README.md
This commit is contained in:
parent
d552acdbfc
commit
4717fbffaa
1 changed files with 4 additions and 2 deletions
|
@ -67,6 +67,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
|
||||
# Example 1
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v29.0.4
|
||||
|
@ -77,6 +78,7 @@ jobs:
|
|||
echo "$file was changed"
|
||||
done
|
||||
|
||||
# Example 2
|
||||
- name: Get changed files in the docs folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v29.0.4
|
||||
|
|
Loading…
Add table
Reference in a new issue