Skip to content

Commit

Permalink
Updated from replacetokens v3 to v6 based on:
Browse files Browse the repository at this point in the history
  • Loading branch information
ollief87 committed Oct 1, 2024
1 parent 7796fef commit a2d8a38
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 a2d8a38

Please sign in to comment.