Explorar el Código

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>
CrazyMax hace 1 año
padre
commit
d91bf690ef
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .github/workflows/bin-image.yml

+ 1 - 0
.github/workflows/bin-image.yml

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