Skip to content

Commit

Permalink
Merge pull request #676 from ollief87/main
Browse files Browse the repository at this point in the history
Updated replacetokens-task from v3 to v6
  • Loading branch information
waelkdouh authored Dec 10, 2024
2 parents 6e9f9b7 + a2d8a38 commit af87700
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tools/azdo_pipelines/run-publisher-with-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,18 @@ steps:
addSpnToEnvironment: true
failOnStandardError: true

# replacetokens@3 task will need to be installed to use
# replacetokens@6 task will need to be installed to use
- ${{ if ne(parameters.CONFIGURATION_YAML_PATH, '') }}:
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
- task: qetza.replacetokens.replacetokens-task.replacetokens@6
displayName: "Perform namevalue secret substitution in ${{ parameters.CONFIGURATION_YAML_PATH }}"
inputs:
targetFiles: ${{ parameters.CONFIGURATION_YAML_PATH }}
sources: ${{ parameters.CONFIGURATION_YAML_PATH }}
encoding: "auto"
writeBOM: true
addBOM: true
verbosity: "off"
actionOnMissing: "warn"
keepToken: false
missingVarAction: "none"
missingVarLog: "warn"
tokenPattern: "custom"
tokenPrefix: "{#"
tokenSuffix: "#}"

Expand Down

0 comments on commit af87700

Please sign in to comment.