ci(bin-image): fix conditional run for skipped job

When the doc job is skipped, the dependent ones will be skipped
as well. To fix this issue we need to apply special conditions
to always run dependent jobs but not if canceled or failed.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-12-14 15:46:52 +01:00
parent 61d5e5ca9a
commit d91bf690ef
No known key found for this signature in database
GPG key ID: ADE44D8C9D44FBE4

View file

@ -82,6 +82,7 @@ jobs:
needs: needs:
- validate-dco - validate-dco
- prepare - prepare
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix: