Add "changes" output variable to support matrix job configuration

This commit is contained in:
Michal Dorner 2020-12-17 22:33:11 +01:00
parent 84e1697bff
commit 9e8c9af501
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
5 changed files with 67 additions and 4 deletions

View file

@ -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