mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
@@ -1,10 +1,10 @@
|
||||
####################################################################################
|
||||
## File: Install-DACFx.ps1
|
||||
## Desc: Install SQL Server® Data-Tier Application Framework (DACFx) for Windows
|
||||
## Desc: Install SQL Server® Data-Tier Application Framework (DacFx) for Windows
|
||||
####################################################################################
|
||||
|
||||
$InstallerName = "DacFramework.msi"
|
||||
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2134206"
|
||||
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2143544"
|
||||
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName
|
||||
|
||||
|
||||
@@ -165,6 +165,7 @@ $markdown += New-MDNewLine
|
||||
$markdown += New-MDHeader "Database tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzCosmosDBEmulatorVersion),
|
||||
(Get-DacFxVersion),
|
||||
(Get-SQLPSVersion),
|
||||
(Get-MySQLVersion)
|
||||
)
|
||||
|
||||
@@ -254,3 +254,9 @@ function Get-AZDSVersion {
|
||||
$azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)"
|
||||
return "Azure Dev Spaces CLI $azdsVersion"
|
||||
}
|
||||
|
||||
function Get-DacFxVersion {
|
||||
cd "C:\Program Files\Microsoft SQL Server\150\DAC\bin\"
|
||||
$dacfxversion = (./sqlpackage.exe /version)
|
||||
return "DacFx $dacfxversion"
|
||||
}
|
||||
Reference in New Issue
Block a user