mirror of
https://github.com/actions/runner-images.git
synced 2026-01-03 16:49:11 +08:00
[windows] Update DacFx package Path & Mysql cli signature thumbprint (#12051)
* [windows] Update DacFx package Path * [Windows] Update mysql-cli signature for windows 22 and 25 * [Windows] Update software report script by changing the path
This commit is contained in:
committed by
GitHub
parent
f2d79a400e
commit
c3ca840280
@@ -299,7 +299,7 @@ function Get-VisualCPPComponents {
|
||||
}
|
||||
|
||||
function Get-DacFxVersion {
|
||||
$dacfxversion = & "$env:ProgramFiles\Microsoft SQL Server\160\DAC\bin\sqlpackage.exe" /version
|
||||
$dacfxversion = & "$env:ProgramFiles\Microsoft SQL Server\170\DAC\bin\sqlpackage.exe" /version
|
||||
return $dacfxversion
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ Describe "R" {
|
||||
Describe "DACFx" {
|
||||
It "DACFx" {
|
||||
(Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*).DisplayName -Contains "Microsoft SQL Server Data-Tier Application Framework" | Should -BeTrue
|
||||
$sqlPackagePath = 'C:\Program Files\Microsoft SQL Server\160\DAC\bin\SqlPackage.exe'
|
||||
$sqlPackagePath = 'C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe'
|
||||
"${sqlPackagePath}" | Should -Exist
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user