Update README.md
This commit is contained in:
parent
fcb2ab8c32
commit
9864173ab1
12
README.md
12
README.md
@ -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."
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user