Skip to content

Commit

Permalink
why does pwsh replace it with \\\\
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 26, 2024
1 parent 72cdd4f commit ccd7452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ros-tooling-win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
id: vcpkg-json
run: |
$singlePath = "${{ steps.vcpkg.outputs.vcpkg-cmake-config }}"
$doublePath = $singlePath -replace "\\", "\\\\"
$doublePath = $singlePath -replace "\\", "\\"
Write-Host "Transformed Path: $doublePath"
"vcpkg-cmake-config=$doublePath" | Out-File -FilePath $Env:GITHUB_OUTPUT -Append
Expand Down

0 comments on commit ccd7452

Please sign in to comment.