mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 07:16:46 +00:00
@@ -1,10 +1,10 @@
|
|||||||
####################################################################################
|
####################################################################################
|
||||||
## File: Install-DACFx.ps1
|
## 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"
|
$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
|
Install-Binary -Url $InstallerUrl -Name $InstallerName
|
||||||
|
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ $markdown += New-MDNewLine
|
|||||||
$markdown += New-MDHeader "Database tools" -Level 3
|
$markdown += New-MDHeader "Database tools" -Level 3
|
||||||
$markdown += New-MDList -Style Unordered -Lines @(
|
$markdown += New-MDList -Style Unordered -Lines @(
|
||||||
(Get-AzCosmosDBEmulatorVersion),
|
(Get-AzCosmosDBEmulatorVersion),
|
||||||
|
(Get-DacFxVersion),
|
||||||
(Get-SQLPSVersion),
|
(Get-SQLPSVersion),
|
||||||
(Get-MySQLVersion)
|
(Get-MySQLVersion)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -254,3 +254,9 @@ function Get-AZDSVersion {
|
|||||||
$azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)"
|
$azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)"
|
||||||
return "Azure Dev Spaces CLI $azdsVersion"
|
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