Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azp: Use the format functions for Expressions v1 in Azure Pipelines for single expressions #291

Closed
ChristopherHX opened this issue Dec 22, 2023 · 1 comment

Comments

@ChristopherHX
Copy link
Owner

steps:
- script: ${{ format(not(False)) }}
- script: ${{ not(False) }}

currently outputs

stages:
- stage: 
  jobs:
  - job: 
    steps:
    - task: CmdLine@2
      inputs:
        script: True
    - task: CmdLine@2
      inputs:
        script: true

instead of

stages:
- stage: 
  jobs:
  - job: 
    steps:
    - task: CmdLine@2
      inputs:
        script: True
    - task: CmdLine@2
      inputs:
        script: True
@ChristopherHX ChristopherHX changed the title azp: Use the format functions for Expressions v1 in Azure Pipelines azp: Use the format functions for Expressions v1 in Azure Pipelines implicitly Dec 22, 2023
@ChristopherHX ChristopherHX changed the title azp: Use the format functions for Expressions v1 in Azure Pipelines implicitly azp: Use the format functions for Expressions v1 in Azure Pipelines for single expressions Dec 22, 2023
@ChristopherHX
Copy link
Owner Author

Fixed by #356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant