Skip to content

Commit fcab8f3

Browse files
authored
use GITHUB_WORKSPACE instead of hardcoded dir winCI
1 parent d62583d commit fcab8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
mkdir C:\workspace\src
2828
mkdir C:\pixi_ws
29-
xcopy /E /I /Y D:\a\ros2_rust\ros2_rust C:\workspace\src\ros2_rust
29+
xcopy /E /I /Y $env:GITHUB_WORKSPACE C:\workspace\src\ros2_rust
3030
3131
- name: Get pixi toml file
3232
run: irm https://raw.githubusercontent.com/ros2/ros2/refs/heads/rolling/pixi.toml -OutFile C:\pixi_ws\pixi.toml
@@ -85,4 +85,4 @@ jobs:
8585
)
8686
)
8787
shell: cmd
88-
working-directory: C:\workspace
88+
working-directory: C:\workspace

0 commit comments

Comments
 (0)