mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[macOS] Update condition for mono test case (#11515)
This commit is contained in:
committed by
GitHub
parent
8273c96ed0
commit
002f86637a
@@ -14,7 +14,8 @@ BeforeAll {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Mono" -Skip:($os.IsSequoia) {
|
if ($os.IsVentura -or $os.IsSonoma) {
|
||||||
|
Describe "Mono" {
|
||||||
$MONO_VERSIONS_PATH = "/Library/Frameworks/Mono.framework/Versions"
|
$MONO_VERSIONS_PATH = "/Library/Frameworks/Mono.framework/Versions"
|
||||||
$monoToolsetVersion = @((Get-ToolsetContent).mono.framework.version)
|
$monoToolsetVersion = @((Get-ToolsetContent).mono.framework.version)
|
||||||
$versionFolderPath = Join-Path $MONO_VERSIONS_PATH ([System.Version]::Parse($monoToolsetVersion).ToString(3))
|
$versionFolderPath = Join-Path $MONO_VERSIONS_PATH ([System.Version]::Parse($monoToolsetVersion).ToString(3))
|
||||||
@@ -71,4 +72,5 @@ Describe "Mono" -Skip:($os.IsSequoia) {
|
|||||||
It "MSBuild is available" {
|
It "MSBuild is available" {
|
||||||
"msbuild -version" | Should -ReturnZeroExitCode
|
"msbuild -version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user