mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Create directory using native powershell tools
This commit is contained in:
@@ -67,7 +67,7 @@ $installerUrl = "https://go.microsoft.com/fwlink/?linkid=866658"
|
|||||||
$downloadPath = "C:\SQLInstall"
|
$downloadPath = "C:\SQLInstall"
|
||||||
$setupPath = Join-Path $downloadPath "SQLEXPR_x64_ENU"
|
$setupPath = Join-Path $downloadPath "SQLEXPR_x64_ENU"
|
||||||
#Create directory for temporary files
|
#Create directory for temporary files
|
||||||
md $downloadPath
|
New-Item -Path $downloadPath -ItemType Directory
|
||||||
Set-Location -Path $downloadPath
|
Set-Location -Path $downloadPath
|
||||||
$installerPath = Start-DownloadWithRetry -Url $installerUrl -DownloadPath $downloadPath -Name "SQL2019-SSEI-Expr.exe"
|
$installerPath = Start-DownloadWithRetry -Url $installerUrl -DownloadPath $downloadPath -Name "SQL2019-SSEI-Expr.exe"
|
||||||
Download-FullSQLPackage -InstallerPath $installerPath -DownloadPath $downloadPath
|
Download-FullSQLPackage -InstallerPath $installerPath -DownloadPath $downloadPath
|
||||||
|
|||||||
Reference in New Issue
Block a user