3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 13:47:20 +00:00

Update test.yml

This commit is contained in:
Tonye Jack 2021-04-02 09:00:06 -04:00 committed by GitHub
parent 122b223c04
commit 33a185bbac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,9 +30,9 @@ jobs:
echo $file
done
- 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: |
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
if: github.event_name == 'pull_request'
id: changed-files-comma