Skip to content

Commit

Permalink
Use equality function check for persist oidc token step (#46485)
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 31c0f37 commit 6b8988c
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 6b8988c

Please sign in to comment.