Delete result job in leaf workflows (#31191)

This commit is contained in:
Samson 2024-01-27 01:07:04 +01:00 committed by GitHub
parent 919bfe0b08
commit b10875956a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 69 deletions

View file

@ -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')