Skip to content

Commit

Permalink
Use equality function check for persist oidc token step (#23559)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
  • Loading branch information
azure-sdk and benbp authored Oct 8, 2024
1 parent 8c4b12d commit 7c2d3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/TestResources/deploy-test-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ steps:

- template: /eng/common/TestResources/setup-environments.yml

- ${{ if parameters.PersistOidcToken }}:
- ${{ if eq(parameters.PersistOidcToken, true) }}:
- task: AzureCLI@2
displayName: Set OIDC token
env:
Expand All @@ -61,7 +61,7 @@ steps:
env:
TEMP: $(Agent.TempDirectory)
PoolSubnet: $(PoolSubnet)
${{ if parameters.PersistOidcToken }}:
${{ if eq(parameters.PersistOidcToken, true) }}:
ARM_OIDC_TOKEN: $(ARM_OIDC_TOKEN)
${{ insert }}: ${{ parameters.EnvVars }}
inputs:
Expand Down

0 comments on commit 7c2d3a7

Please sign in to comment.