workflows: build-gluon: avoid failure when no path filter matches
The CI should be successful when there is nothing to check. Add if condition as proposed in [1]. [1] https://github.com/dorny/paths-filter/issues/66#issuecomment-778267385main
parent
83808221d7
commit
d8aca7f211
|
@ -24,6 +24,7 @@ jobs:
|
|||
|
||||
build_firmware:
|
||||
needs: changed
|
||||
if: ${{ needs.changed.outputs.targets != '[]' && needs.changed.outputs.targets != '' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
Loading…
Reference in New Issue