mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Delete result job in leaf workflows (#31191)
This commit is contained in:
parent
919bfe0b08
commit
b10875956a
4 changed files with 0 additions and 69 deletions
18
.github/workflows/mac.yml
vendored
18
.github/workflows/mac.yml
vendored
|
@ -169,21 +169,3 @@ jobs:
|
|||
wpt-layout: "layout-2013"
|
||||
wpt-tests-to-run: ${{ inputs.wpt-tests-to-run }}
|
||||
secrets: inherit
|
||||
|
||||
result:
|
||||
name: Result
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
# needs all build to detect cancellation
|
||||
needs:
|
||||
- "build"
|
||||
- "wpt-2020"
|
||||
- "wpt-2013"
|
||||
|
||||
steps:
|
||||
- name: Mark the job as successful
|
||||
run: exit 0
|
||||
if: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
|
||||
- name: Mark the job as unsuccessful
|
||||
run: exit 1
|
||||
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue