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>
(cherry picked from commit d91bf690ef)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
CrazyMax 2023-12-14 15:46:52 +01:00 committed by Sebastiaan van Stijn
parent 123b6d815f
commit fac0982e6c
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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