Make WordPress Core


Ignore:
Timestamp:
10/24/2023 02:22:08 PM (11 months ago)
Author:
desrosj
Message:

Build/Test Tools: Revert [57000] and [57001].

These commits accidentally reverted intended changes.

Unprops desrosj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4/.github/workflows/phpunit-tests.yml

    r57000 r57002  
    137137    if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
    138138    with:
    139       calling_status: ${{ needs.test-with-mysql.result == 'success' && needs.test-with-mariadb.result == 'success' && 'success' || ( needs.test-with-mysql.result == 'cancelled' || needs.test-with-mariadb.result == 'cancelled' ) && 'cancelled' || 'failure' }}
     139      calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
    140140    secrets:
    141141      SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
     
    156156      github.run_attempt < 2 &&
    157157      (
    158         needs.test-with-mysql.result == 'cancelled' || needs.test-with-mysql.result == 'failure' ||
    159         needs.test-with-mariadb.result == 'cancelled' || needs.test-with-mariadb.result == 'failure'
     158        contains( needs.*.result, 'cancelled' ) ||
     159        contains( needs.*.result, 'failure' )
    160160      )
    161161
Note: See TracChangeset for help on using the changeset viewer.