Skip to content

Commit e7ea3e5

Browse files
committed
Fix job name for nightly Windows builds in Swift matrix
Conditionalize the name of the Windows build in the same way that we conditionalize `runs-on`.
1 parent 9f2ee99 commit e7ea3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/swift_package_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
run: ${{ inputs.linux_build_command }} ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
8282

8383
windows-build:
84-
name: Windows (${{ matrix.swift_version }} - windows-2022)
84+
name: Windows (${{ matrix.swift_version }} - ${{ contains(matrix.swift_version, 'nightly') && 'windows-2019' || 'windows-2022' }})
8585
if: ${{ inputs.enable_windows_checks }}
8686
runs-on: ${{ contains(matrix.swift_version, 'nightly') && 'windows-2019' || 'windows-2022' }}
8787
strategy:

0 commit comments

Comments
 (0)