From d7dc03212b8df95ec8559891d19798c63d24ae4c Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Tue, 26 Nov 2024 21:15:21 +0000 Subject: [PATCH] why does pwsh replace it with \\\\ --- .github/workflows/reusable-ros-tooling-win-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-ros-tooling-win-build.yml b/.github/workflows/reusable-ros-tooling-win-build.yml index fa7de67..9f88459 100644 --- a/.github/workflows/reusable-ros-tooling-win-build.yml +++ b/.github/workflows/reusable-ros-tooling-win-build.yml @@ -63,7 +63,7 @@ jobs: id: vcpkg-json run: | $singlePath = "${{ steps.vcpkg.outputs.vcpkg-cmake-config }}" - $doublePath = $singlePath -replace "\\", "\\\\" + $doublePath = $singlePath Write-Host "Transformed Path: $doublePath" "vcpkg-cmake-config=$doublePath" | Out-File -FilePath $Env:GITHUB_OUTPUT -Append