Skip to content

Commit

Permalink
What happens without always()
Browse files Browse the repository at this point in the history
  • Loading branch information
BradLugo committed Jan 9, 2024
1 parent 244c0f5 commit 2ce384e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ jobs:
- pre-build-scanner
- generate-genesis-dump
if: |
always() &&
(needs.generate-genesis-dump.result == 'success' || needs.generate-genesis-dump.result == 'skipped')
needs.generate-genesis-dump.result == 'success' || needs.generate-genesis-dump.result == 'skipped'
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
Expand Down Expand Up @@ -286,8 +285,7 @@ jobs:
needs:
- generate-db-dump
if: |
always() &&
(needs.generate-db-dump.result == 'success' || needs.generate-db-dump.result == 'skipped')
needs.generate-db-dump.result == 'success' || needs.generate-db-dump.result == 'skipped'
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
Expand Down Expand Up @@ -332,7 +330,7 @@ jobs:
needs:
- generate-scanner-bundle
- generate-scanner-db-bundle
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
if: !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
Expand Down

0 comments on commit 2ce384e

Please sign in to comment.