Skip to content

Commit

Permalink
add installed sdk to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
cwe1ss committed Nov 11, 2020
1 parent 6b65ef6 commit 2a819f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Task "install-dotnet" $true {
(New-Object System.Net.WebClient).DownloadFile($urlCurrent, "dotnet.zip")
Write-Host "Unzipping to $env:DOTNET_INSTALL_DIR"
Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory("dotnet.zip", $env:DOTNET_INSTALL_DIR)

$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
}
}

Expand Down

0 comments on commit 2a819f8

Please sign in to comment.