mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
small fixes
This commit is contained in:
@@ -171,7 +171,7 @@ function Start-DownloadWithRetry
|
||||
[string] $Name,
|
||||
[int] $retries = 20
|
||||
)
|
||||
$FilePath = Join-Path $DownloadPath "\" $Name
|
||||
$FilePath = Join-Path $DownloadPath $Name
|
||||
#Default retry logic for the package.
|
||||
while($retries -gt 0)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ $installerUrl = "https://go.microsoft.com/fwlink/?linkid=866658"
|
||||
$downloadPath = "${env:Temp}"
|
||||
$setupPath = Join-Path $downloadPath "SQLEXPR_x64_ENU"
|
||||
Set-Location -Path $downloadPath
|
||||
$installerPath = Start-DownloadWithRetry -Url "https://go.microsoft.com/fwlink/?linkid=866658" -Name SQL2019-SSEI-Expr.exe
|
||||
$installerPath = Start-DownloadWithRetry -Url "https://go.microsoft.com/fwlink/?linkid=866658" -Name "SQL2019-SSEI-Expr.exe"
|
||||
Download-FullSQLPackage -InstallerPath $installerPath
|
||||
Unpack-SQLInstaller -InstallPath "$setupPath.exe"
|
||||
Start-Installer -InstallPath "$setupPath/SETUP.exe"
|
||||
Reference in New Issue
Block a user