Skip to content

Commit

Permalink
Fixup ibcEnabled expression (#46491)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitche authored Feb 4, 2025
1 parent ac30c26 commit 023b758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/templates/variables/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ variables:
- name: isOfficialBuild
value: ${{ and(eq(variables['System.TeamProject'], 'internal'), notin(variables['Build.Reason'], 'PullRequest')) }}

- ${{ if eq(variables['isOfficialBuild'], true) }}:
- name: ibcEnabled
## Note: The use of if expressons underneath the variable is necessary to get the updated isOfficialBuild value
- name: ibcEnabled
${{ if eq(variables['isOfficialBuild'], true) }}:
value: true
- ${{ else }}:
- name: ibcEnabled
${{ else }}:
value: false

- name: officialBuildParameter
Expand Down

0 comments on commit 023b758

Please sign in to comment.