Skip to content

Commit

Permalink
Update environment variables for Windows build script
Browse files Browse the repository at this point in the history
  • Loading branch information
e3m3 committed Sep 24, 2024
1 parent e51ea50 commit 978081e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/build-and-test-windows-2022.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@

Set-PSDebug -Trace 2

# Set input environment variable defaults
if ( !$env:BUILD_MODE ) {
$env:BUILD_MODE="debug"
}

if ( !$env:WORKSPACE ) {
$env:WORKSPACE="$env:USERPROFILE\Workspace"
md "$env:WORKSPACE" -ea 0
}

# Bootstrap chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Expand Down

0 comments on commit 978081e

Please sign in to comment.