Merge branch 'main' into upgrade-to-v4.3
This commit is contained in:
commit
d6f3673f2e
12
README.md
12
README.md
@ -116,6 +116,18 @@ jobs:
|
||||
run: |
|
||||
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