mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Update DACX 150 -> 160 path (#4966)
This commit is contained in:
committed by
GitHub
parent
f54d2c7df5
commit
6865a4ccfe
@@ -292,7 +292,7 @@ function Get-VisualCPPComponents {
|
||||
}
|
||||
|
||||
function Get-DacFxVersion {
|
||||
$dacfxversion = & "$env:ProgramFiles\Microsoft SQL Server\150\DAC\bin\sqlpackage.exe" /version
|
||||
$dacfxversion = & "$env:ProgramFiles\Microsoft SQL Server\160\DAC\bin\sqlpackage.exe" /version
|
||||
return "DacFx $dacfxversion"
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Describe "R" {
|
||||
Describe "DACFx" {
|
||||
It "DACFx" {
|
||||
(Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*).DisplayName -Contains "Microsoft SQL Server Data-Tier Application Framework (x64)" | Should -BeTrue
|
||||
$sqlPackagePath = 'C:\Program Files\Microsoft SQL Server\150\DAC\bin\SqlPackage.exe'
|
||||
$sqlPackagePath = 'C:\Program Files\Microsoft SQL Server\160\DAC\bin\SqlPackage.exe'
|
||||
"${sqlPackagePath}" | Should -Exist
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user