Skip to content

Commit

Permalink
Set SDK path from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed Oct 16, 2023
1 parent 6e71b33 commit 80064f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
echo "build: Build started"

$env:Path = "$pwd/.dotnetcli;$env:Path"

Push-Location $PSScriptRoot

if(Test-Path .\artifacts) {
Expand Down
2 changes: 0 additions & 2 deletions Setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ New-Item -ItemType Directory -Force "./build/" | Out-Null
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1"
& ./build/installcli.ps1 -InstallDir "$pwd/.dotnetcli" -NoPath -Version $RequiredDotnetVersion
if ($LASTEXITCODE) { throw ".NET install failed" }

$env:Path = "$pwd/.dotnetcli;$env:Path"

0 comments on commit 80064f8

Please sign in to comment.