mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
Merge pull request #1764 from maxim-lobanov/v-malob/test-fix
Fix Xcode test execution on MacOS images
This commit is contained in:
@@ -56,7 +56,7 @@ Describe "Xcode" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Context "XCODE_DEVELOPER_DIR" {
|
Context "XCODE_DEVELOPER_DIR" {
|
||||||
$stableXcodeVersions = $testCases | Where-Object { Test-XcodeStableRelease -Version $_ }
|
$stableXcodeVersions = $XCODE_VERSIONS | ForEach-Object { $_.Split("_")[0] } | Where-Object { Test-XcodeStableRelease -Version $_ }
|
||||||
$majorXcodeVersions = $stableXcodeVersions | ForEach-Object { $_.Split(".")[0] } | Select-Object -Unique
|
$majorXcodeVersions = $stableXcodeVersions | ForEach-Object { $_.Split(".")[0] } | Select-Object -Unique
|
||||||
$testCases = $majorXcodeVersions | ForEach-Object {
|
$testCases = $majorXcodeVersions | ForEach-Object {
|
||||||
$majorXcodeVersion = $_
|
$majorXcodeVersion = $_
|
||||||
|
|||||||
Reference in New Issue
Block a user