mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
[macOS] Don't show CodeQl in Catalina's sw report (#6139)
This commit is contained in:
@@ -159,10 +159,15 @@ $toolsList = @(
|
|||||||
(Get-AzureDevopsVersion),
|
(Get-AzureDevopsVersion),
|
||||||
(Get-AWSCLIVersion),
|
(Get-AWSCLIVersion),
|
||||||
(Get-AWSSAMCLIVersion),
|
(Get-AWSSAMCLIVersion),
|
||||||
(Get-AWSSessionManagerCLIVersion),
|
(Get-AWSSessionManagerCLIVersion)
|
||||||
(Get-CodeQLBundleVersion)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (-not $os.IsCatalina) {
|
||||||
|
$toolsList += @(
|
||||||
|
(Get-CodeQLBundleVersion)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
if ($os.IsLessThanMonterey) {
|
if ($os.IsLessThanMonterey) {
|
||||||
$toolsList += @(
|
$toolsList += @(
|
||||||
(Get-AliyunCLIVersion)
|
(Get-AliyunCLIVersion)
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ Describe "VirtualBox" -Skip:($os.IsBigSur) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "CodeQL" {
|
Describe "CodeQL" -Skip:($os.IsCatalina) {
|
||||||
It "codeql" {
|
It "codeql" {
|
||||||
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
|
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
|
||||||
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionWildcard | Select-Object -First 1 -Expand FullName
|
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionWildcard | Select-Object -First 1 -Expand FullName
|
||||||
|
|||||||
Reference in New Issue
Block a user