mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-30 19:30:19 +00:00
Improve test coverage (#71)
This commit is contained in:
parent
550d248e17
commit
060d09a82f
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -47,6 +47,13 @@ jobs:
|
||||||
files: |
|
files: |
|
||||||
.github/workflows/test.yml
|
.github/workflows/test.yml
|
||||||
action.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
|
- name: Show output
|
||||||
run: |
|
run: |
|
||||||
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
|
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
|
||||||
|
|
Loading…
Reference in a new issue