mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 01:19:51 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@58351 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bb351ae80f
commit
9ff77917b2
@ -52,7 +52,7 @@ jobs:
|
||||
# - Saves the pull request number to a text file.
|
||||
# - Uploads the pull request number as an artifact.
|
||||
build-process-tests:
|
||||
name: Core running from ${{ inputs.directory }} / ${{ inputs.os == 'macos-latest' && 'MacOS' || inputs.os == 'windows-latest' && 'Windows' || 'Linux' }}
|
||||
name: Core running from ${{ inputs.directory }} / ${{ contains( inputs.os, 'macos-' ) && 'MacOS' || contains( inputs.os, 'windows-' ) && 'Windows' || 'Linux' }}
|
||||
runs-on: ${{ inputs.os }}
|
||||
timeout-minutes: 20
|
||||
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
||||
# - Builds Gutenberg.
|
||||
# - Ensures version-controlled files are not modified or deleted.
|
||||
build-process-tests:
|
||||
name: Gutenberg running from ${{ inputs.directory }} / ${{ inputs.os == 'macos-latest' && 'MacOS' || inputs.os == 'windows-latest' && 'Windows' || 'Linux' }}
|
||||
name: Gutenberg running from ${{ inputs.directory }} / ${{ contains( inputs.os, 'macos-' ) && 'MacOS' || contains( inputs.os, 'windows-' ) && 'Windows' || 'Linux' }}
|
||||
runs-on: ${{ inputs.os }}
|
||||
timeout-minutes: 30
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user