mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01: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
16
.github/workflows/android.yml
vendored
16
.github/workflows/android.yml
vendored
|
@ -87,19 +87,3 @@ jobs:
|
|||
with:
|
||||
name: android-${{ matrix.arch }}-${{ inputs.profile }}
|
||||
path: target/android/${{ matrix.arch }}/${{ inputs.profile }}/servoapp.apk
|
||||
|
||||
result:
|
||||
name: Result
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
# `needs: 'build'` is necessary to detect cancellation
|
||||
needs:
|
||||
- "build"
|
||||
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')
|
||||
|
||||
|
|
18
.github/workflows/linux.yml
vendored
18
.github/workflows/linux.yml
vendored
|
@ -175,21 +175,3 @@ jobs:
|
|||
wpt-sync-from-upstream: ${{ inputs.wpt-sync-from-upstream }}
|
||||
wpt-layout: "layout-2013"
|
||||
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')
|
||||
|
|
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')
|
||||
|
|
17
.github/workflows/windows.yml
vendored
17
.github/workflows/windows.yml
vendored
|
@ -121,20 +121,3 @@ jobs:
|
|||
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
||||
NIGHTLY_REPO_TOKEN: ${{ secrets.NIGHTLY_REPO_TOKEN }}
|
||||
NIGHTLY_REPO: ${{ github.repository_owner }}/servo-nightly-builds
|
||||
|
||||
result:
|
||||
name: Result
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
# needs all build to detect cancellation
|
||||
needs:
|
||||
- "build"
|
||||
|
||||
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