File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "sdk" : {
3+ "version" : " 5.0.100" ,
4+ "rollForward" : " latestMinor"
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
1616$BuildProjectFile = " $PSScriptRoot \Build\Nuke\NukeBuild.csproj"
1717$TempDirectory = " $PSScriptRoot \\.tmp"
1818
19- $DotNetGlobalFile = " $ PSScriptRoot \\global.json"
19+ $DotNetGlobalFile = " PSScriptRoot\Build\Nuke \global.json"
2020$DotNetInstallUrl = " https://dot.net/v1/dotnet-install.ps1"
2121$DotNetChannel = " Current"
2222
@@ -32,6 +32,10 @@ function ExecSafe([scriptblock] $cmd) {
3232 if ($LASTEXITCODE ) { exit $LASTEXITCODE }
3333}
3434
35+
36+ # Print environment variables
37+ Get-Item - Path Env:* | Sort-Object - Property Name | ForEach-Object {" {0}={1}" -f $_.Name , $_.Value }
38+
3539# If global.json exists, load expected version
3640if (Test-Path $DotNetGlobalFile ) {
3741 $DotNetGlobal = $ (Get-Content $DotNetGlobalFile | Out-String | ConvertFrom-Json )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
1212BUILD_PROJECT_FILE=" $SCRIPT_DIR /Build/Nuke/NukeBuild.csproj"
1313TEMP_DIRECTORY=" $SCRIPT_DIR //.tmp"
1414
15- DOTNET_GLOBAL_FILE=" $SCRIPT_DIR //global.json"
15+ DOTNET_GLOBAL_FILE=" $SCRIPT_DIR /Build/Nuke /global.json"
1616DOTNET_INSTALL_URL=" https://dot.net/v1/dotnet-install.sh"
1717DOTNET_CHANNEL=" Current"
1818
You can’t perform that action at this time.
0 commit comments