runner.server icon indicating copy to clipboard operation
runner.server copied to clipboard

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

Open ChristopherHX opened this issue 2 years ago • 0 comments

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 avatar Dec 22 '23 19:12 ChristopherHX