Skip to content

Commit

Permalink
fix: prevent manifest update when dependent job was cancelled (2) (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi authored Aug 16, 2024
1 parent cb5afd1 commit f755674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/argus-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ jobs:
uses: actions/github-script@v7
with:
script: |
if (${{ !contains(needs.*.result, 'success') }}) {
core.setFailed("We won't update the manifest because one or more Docker builds failed");
if (${{ !contains(needs.build-docker.result, 'success') }}) {
core.setFailed("We won't update the manifest because one or more Docker builds did not succeed");
} else {
core.info('All builds passed, continuing with manifest update...');
}
Expand Down

0 comments on commit f755674

Please sign in to comment.