mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge branch 'main' of https://github.com/actions/virtual-environments into dacfx-186
This commit is contained in:
@@ -31,7 +31,6 @@ function Get-AndroidInstalledPackages {
|
||||
return $androidInstalledPackages
|
||||
}
|
||||
|
||||
|
||||
function Build-AndroidTable {
|
||||
$packageInfo = Get-AndroidInstalledPackages
|
||||
return @(
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
Import-Module MarkdownPS
|
||||
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Android.psm1") -DisableNameChecking
|
||||
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Browsers.psm1") -DisableNameChecking
|
||||
@@ -72,7 +74,6 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
|
||||
$markdown += New-MDHeader "Tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzCosmosDBEmulatorVersion),
|
||||
(Get-AzCopyVersion),
|
||||
(Get-BazelVersion),
|
||||
(Get-BazeliskVersion),
|
||||
@@ -89,15 +90,12 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-KubectlVersion),
|
||||
(Get-KindVersion),
|
||||
(Get-MinGWVersion),
|
||||
(Get-MySQLVersion),
|
||||
(Get-MercurialVersion),
|
||||
(Get-NSISVersion),
|
||||
(Get-NewmanVersion),
|
||||
(Get-OpenSSLVersion),
|
||||
(Get-PackerVersion),
|
||||
(Get-PulumiVersion),
|
||||
(Get-SQLPSVersion),
|
||||
(Get-SQLServerPSVersion),
|
||||
(Get-SVNVersion),
|
||||
(Get-GHCVersion),
|
||||
(Get-CabalVersion),
|
||||
@@ -167,6 +165,14 @@ $markdown += New-MDHeader "Databases" -Level 3
|
||||
$markdown += Build-DatabasesMarkdown
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
$markdown += New-MDHeader "Database tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzCosmosDBEmulatorVersion),
|
||||
(Get-SQLPSVersion),
|
||||
(Get-MySQLVersion)
|
||||
)
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
$vs = Get-VisualStudioVersion
|
||||
$markdown += New-MDHeader "$($vs.Name)" -Level 3
|
||||
$markdown += $vs | New-MDTable
|
||||
@@ -229,4 +235,8 @@ $markdown += New-MDHeader "Android" -Level 3
|
||||
$markdown += Build-AndroidTable | New-MDTable
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
# Docker images section
|
||||
$markdown += New-MDHeader "Cached Docker images" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(Get-CachedDockerImages)
|
||||
|
||||
$markdown | Out-File -FilePath "C:\InstalledSoftware.md"
|
||||
@@ -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