mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-24 03:18:02 +02:00
Add "changes" output variable to support matrix job configuration
This commit is contained in:
@ -29,6 +29,9 @@ jobs:
|
||||
- name: filter-test
|
||||
if: steps.filter.outputs.any != 'true' || steps.filter.outputs.error == 'true'
|
||||
run: exit 1
|
||||
- name: changes-test
|
||||
if: contains(fromJSON(steps.filter.outputs.changes), 'error') || !contains(fromJSON(steps.filter.outputs.changes), 'any')
|
||||
run: exit 1
|
||||
|
||||
test-external:
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user