Skip to content

Commit

Permalink
Fix forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 26, 2024
1 parent ccd7452 commit ca7706b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-ros-tooling-win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ jobs:
- name: Make json from vcpkg cmake
id: vcpkg-json
run: |
ls
ls vcpkg || true
$singlePath = "${{ steps.vcpkg.outputs.vcpkg-cmake-config }}"
$doublePath = $singlePath -replace "\\", "\\"
$doublePath = $doublePath -replace "/", "\\"
Write-Host "Transformed Path: $doublePath"
"vcpkg-cmake-config=$doublePath" | Out-File -FilePath $Env:GITHUB_OUTPUT -Append
Expand Down

0 comments on commit ca7706b

Please sign in to comment.