mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-28 04:20:23 +08:00
Fix Xcode simulator naming at the end of image generation (#7181)
This commit is contained in:
@@ -171,8 +171,6 @@ function Format-XcodeSimulatorName {
|
||||
)
|
||||
|
||||
$formattedDeviceName = $Device.Replace("ʀ", "R")
|
||||
# Convert "Apple Watch Series 5 (44mm)" -> "Apple Watch Series 5 - 44mm" to make all Xcode versions consistent
|
||||
$formattedDeviceName = $formattedDeviceName -replace '\((\d+mm)\)', '- $1'
|
||||
return $formattedDeviceName
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user