mirror of
https://github.com/actions/runner-images.git
synced 2026-01-23 13:03:46 +08:00
Merge branch 'master' of https://github.com/nikita-bykov/virtual-environments into pipx-windows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -5,10 +5,8 @@
|
||||
|
||||
$CondaDestination = "C:\Miniconda"
|
||||
|
||||
# Lock to Miniconda 4.6 until we do the work to run `conda init` for the vsts user
|
||||
# Then we can go back to installing the latest Miniconda
|
||||
# $url = "https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe"
|
||||
$InstallerName = "Miniconda3-4.6.14-Windows-x86_64.exe"
|
||||
# Install the latest Miniconda
|
||||
$InstallerName = "Miniconda3-latest-Windows-x86_64.exe"
|
||||
$InstallerUrl = "https://repo.continuum.io/miniconda/${InstallerName}"
|
||||
$ArgumentList = ("/S", "/AddToPath=0", "/RegisterPython=0", "/D=$CondaDestination")
|
||||
|
||||
|
||||
@@ -166,6 +166,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