Skip to content

Commit

Permalink
ci: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
cubic3d committed Feb 14, 2025
1 parent f5959c0 commit ca5eab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ jobs:
flux-diff-success:
needs:
- flux-diff
if: ${{ always() }}
if: ${{ !cancelled() }}
name: Flux Diff successful
runs-on: ubuntu-latest
steps:
- name: Check matrix status
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
4 changes: 2 additions & 2 deletions .github/workflows/flux-image-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ jobs:
run: docker buildx imagetools inspect ${{ matrix.images }}

test-images-success:
if: ${{ always() }}
if: ${{ !cancelled() }}
needs:
- test-images
name: Test Images Successful
runs-on: ubuntu-latest
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
- if: ${{ contains(needs.*.result, 'failure') }}
name: Check matrix status
run: exit 1

0 comments on commit ca5eab7

Please sign in to comment.