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-778267385
main
Matthias Schiffer 2021-12-18 23:51:17 +01:00
parent 83808221d7
commit d8aca7f211
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jobs:
build_firmware:
needs: changed
if: ${{ needs.changed.outputs.targets != '[]' && needs.changed.outputs.targets != '' }}
strategy:
fail-fast: false
matrix: