Skip to content

Commit 80064f8

Browse files
committed
Set SDK path from build script
1 parent 6e71b33 commit 80064f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
echo "build: Build started"
22

3+
$env:Path = "$pwd/.dotnetcli;$env:Path"
4+
35
Push-Location $PSScriptRoot
46

57
if(Test-Path .\artifacts) {

Setup.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ New-Item -ItemType Directory -Force "./build/" | Out-Null
77
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1"
88
& ./build/installcli.ps1 -InstallDir "$pwd/.dotnetcli" -NoPath -Version $RequiredDotnetVersion
99
if ($LASTEXITCODE) { throw ".NET install failed" }
10-
11-
$env:Path = "$pwd/.dotnetcli;$env:Path"

0 commit comments

Comments
 (0)