mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
Merge branch 'main' of https://github.com/actions/virtual-environments into dacfx-186
This commit is contained in:
@@ -34,7 +34,7 @@ function Get-CodeQLBundleVersion {
|
||||
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "codeql" | Join-Path -ChildPath "*"
|
||||
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
|
||||
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql.exe"
|
||||
$CodeQLVersion = $($CodeQLPath version --quiet)
|
||||
$CodeQLVersion = & $CodeQLPath version --quiet
|
||||
return "CodeQL Action Bundle $CodeQLVersion"
|
||||
}
|
||||
|
||||
@@ -125,12 +125,6 @@ function Get-SQLPSVersion {
|
||||
return "SQLPS $version"
|
||||
}
|
||||
|
||||
function Get-SQLServerPSVersion {
|
||||
$module = Get-Module -Name SQLServer -ListAvailable
|
||||
$version = $module.Version
|
||||
return "SQLServer PS $version"
|
||||
}
|
||||
|
||||
function Get-SVNVersion {
|
||||
$svnVersion = $(svn --version --quiet)
|
||||
return "Subversion (SVN) $svnVersion"
|
||||
|
||||
Reference in New Issue
Block a user