chore: CI: mark "Build matrix complete" as cancelled if builds cancelled (#3690)

This commit is contained in:
Sebastian Ullrich 2024-03-15 13:30:48 +01:00 committed by GitHub
parent e47d8ca5cd
commit 557777dd37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -446,9 +446,10 @@ jobs:
name: Build matrix complete
runs-on: ubuntu-latest
needs: build
if: ${{ always() }}
# mark as merely cancelled not failed if builds are cancelled
if: ${{ !cancelled() }}
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
- if: contains(needs.*.result, 'failure')
uses: actions/github-script@v7
with:
script: |