Skip to content

Commit

Permalink
🔧 (main.yml): update token prefix and suffix for replace-tokens action
Browse files Browse the repository at this point in the history
Change the token prefix and suffix from `${` and `}` to `#{` and `}#` to avoid conflicts with other templating systems or variables that use the `${}` syntax. This ensures that the token replacement process is more reliable and less prone to errors.
  • Loading branch information
MrHinsh committed Aug 12, 2024
1 parent 307c35d commit 5f17b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ jobs:
- uses: cschleiden/replace-tokens@v1
with:
files: '["**/*.html"]'
tokenPrefix: "${"
tokenSuffix: "}"
tokenPrefix: "#{"
tokenSuffix: "}#"
env:
GitVersion_SemVer: ${{ needs.Setup.outputs.GitVersion_SemVer }}
GitVersion_AssemblySemVer: ${{ needs.Setup.outputs.GitVersion_AssemblySemVer }}
Expand Down

0 comments on commit 5f17b77

Please sign in to comment.