Make WordPress Core

Changeset 58351 for trunk


Ignore:
Timestamp:
06/05/2024 07:27:33 PM (14 months ago)
Author:
desrosj
Message:

Build/Test Tools: Make OS detection more generic in job names.

This prevents workflow runs in older branches that are using older versions of runner images from displaying the wrong operating system in job names.

Because the updated files are reusable, this change will automatically fix the issue in all older branches without the need to backport.

See #61213.

Location:
trunk/.github/workflows
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-test-core-build-process.yml

    r58345 r58351  
    5353  # - Uploads the pull request number as an artifact.
    5454  build-process-tests:
    55     name: Core running from ${{ inputs.directory }} / ${{ inputs.os == 'macos-latest' && 'MacOS' || inputs.os == 'windows-latest' && 'Windows' || 'Linux' }}
     55    name: Core running from ${{ inputs.directory }} / ${{ contains( inputs.os, 'macos-' ) && 'MacOS' || contains( inputs.os, 'windows-' ) && 'Windows' || 'Linux' }}
    5656    runs-on: ${{ inputs.os }}
    5757    timeout-minutes: 20
  • trunk/.github/workflows/reusable-test-gutenberg-build-process.yml

    r58165 r58351  
    3838  # - Ensures version-controlled files are not modified or deleted.
    3939  build-process-tests:
    40     name: Gutenberg running from ${{ inputs.directory }} / ${{ inputs.os == 'macos-latest' && 'MacOS' || inputs.os == 'windows-latest' && 'Windows' || 'Linux' }}
     40    name: Gutenberg running from ${{ inputs.directory }} / ${{ contains( inputs.os, 'macos-' ) && 'MacOS' || contains( inputs.os, 'windows-' ) && 'Windows' || 'Linux' }}
    4141    runs-on: ${{ inputs.os }}
    4242    timeout-minutes: 30
Note: See TracChangeset for help on using the changeset viewer.