3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-22 01:17:40 +00:00

Update README.md

This commit is contained in:
Tonye Jack 2022-09-12 14:50:21 -06:00 committed by GitHub
parent d552acdbfc
commit 4717fbffaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,7 @@ jobs:
with: with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
# Example 1
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v29.0.4 uses: tj-actions/changed-files@v29.0.4
@ -77,6 +78,7 @@ jobs:
echo "$file was changed" echo "$file was changed"
done done
# Example 2
- name: Get changed files in the docs folder - name: Get changed files in the docs folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v29.0.4 uses: tj-actions/changed-files@v29.0.4