Skip to content

Commit

Permalink
azure-pipelines.yml: Setup BuildPlatform env variable for current pip…
Browse files Browse the repository at this point in the history
…eline
  • Loading branch information
NightOwl888 committed Oct 19, 2024
1 parent 3338c75 commit a049c0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ stages:
- pwsh: |
$configuration = if ($env:BUILDCONFIGURATION) { $env:BUILDCONFIGURATION } else { "Release" }
Write-Host "##vso[task.setvariable variable=BuildConfiguration;]$configuration"
$platform = if ($env:BUILDPLATFORM) { $env:BUILDPLATFORM } else { "Any CPU" }
Write-Host "##vso[task.setvariable variable=BuildPlatform;]$platform"
$isRelease = if ($env:ISRELEASE -eq 'true') { 'true' } else { 'false' }
Write-Host "##vso[task.setvariable variable=IsRelease;]$isRelease"
$isNightly = if ($env:ISNIGHTLY -eq 'true') { 'true' } else { 'false' }
Expand Down

0 comments on commit a049c0a

Please sign in to comment.