Update README.md

This commit is contained in:
Tonye Jack 2021-05-01 12:17:17 -04:00 committed by GitHub
parent fcb2ab8c32
commit 9864173ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,18 @@ jobs:
run: | run: |
echo "Your test.txt has been deleted." echo "Your test.txt has been deleted."
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v4.2
with:
files: |
my-file.txt
test.txt
- name: Run step if all files listed above have changed
if: steps.changed-files-specific.outputs.has_changed
run: |
echo "Both my-file.txt and test.txt have changed."
``` ```