3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-29 13:34:51 +00:00

Improve test coverage (#71)

This commit is contained in:
Tonye Jack 2021-05-16 16:26:22 -04:00 committed by GitHub
parent 550d248e17
commit 060d09a82f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,13 @@ jobs:
files: |
.github/workflows/test.yml
action.yml
- name: Verify any_changed files
if: contains(steps.changed-files-specific.outputs.all_modified_files, 'action.yml') || contains(steps.changed-files-specific.outputs.all_modified_files, '.github/workflows/test.yml')
run: |
if [[ "${{ steps.changed-files-specific.outputs.any_changed }}" != 'true' ]]; then
echo "Invalid output: Expected (true) got (${{ steps.changed-files-specific.outputs.any_changed }})"
exit 1
fi
- name: Show output
run: |
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"