mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-05 09:35:54 +00:00
Update test.yml
This commit is contained in:
parent
122b223c04
commit
33a185bbac
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -30,9 +30,9 @@ jobs:
|
||||||
echo $file
|
echo $file
|
||||||
done
|
done
|
||||||
- name: Run step when README.md changes
|
- name: Run step when README.md changes
|
||||||
if: contains(fromJSON("${{ steps.changed-files.outputs.modified_files }}"), 'README.md')
|
if: contains(steps.changed-files.outputs.modified_files, 'README.md')
|
||||||
run: |
|
run: |
|
||||||
echo "Your README.md has been modified ${{ fromJSON("${{ steps.changed-files.outputs.modified_files }}") }}."
|
echo "Your README.md has been modified ${{ steps.changed-files.outputs.modified_files }}."
|
||||||
- name: Run changed-files with comma separator
|
- name: Run changed-files with comma separator
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
id: changed-files-comma
|
id: changed-files-comma
|
||||||
|
|
Loading…
Reference in a new issue