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