Skip to content

Commit

Permalink
ci: Run if at least one of the jobs succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-larraz committed Mar 11, 2024
1 parent 7bbdb94 commit 15b67cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/kind2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ jobs:
--repo $GITHUB_REPOSITORY
build:
if: github.repository == 'kind2-mc/kind2'
if: |
always()
&& github.repository == 'kind2-mc/kind2'
&& contains(needs.*.result, 'success')
&& !contains(needs.*.result, 'failure')
needs: [get-nightly-ready, create-new-release]
strategy:
matrix:
Expand Down

0 comments on commit 15b67cf

Please sign in to comment.