Skip to content

Commit b17d1c4

Browse files
authored
move zip file unzipd own and remove --pypi for upgrade
1 parent 8521afb commit b17d1c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/rust-win.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
with:
3737
manifest-path: C:/pixi_ws/pixi.toml
3838

39-
- name: Get prebuild ROS files and unzip
40-
run: |
41-
irm https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -Outfile ros2-package-windows-AMD64.zip
42-
Expand-Archive -Path ros2-package-windows-AMD64.zip -DestinationPath C:/pixi_ws/
43-
4439
- name: Install ros2_rust prerequisites
4540
# prerequisites and fixes for windows build ros2_rust:
4641
# * Libclang has to be added (from the ros2_rust instructions) and the dll has to be renamed
@@ -52,7 +47,12 @@ jobs:
5247
if (Test-Path $src) { Rename-Item -Path $src -NewName "libclang.dll" }
5348
pixi add --pypi "colcon-ros-cargo@git+https://github.com/colcon/colcon-ros-cargo.git" --manifest-path C:\pixi_ws\pixi.toml
5449
pixi add --pypi "colcon-cargo@git+https://github.com/colcon/colcon-cargo.git" --manifest-path C:\pixi_ws\pixi.toml
55-
pixi upgrade --pypi colcon-core --manifest-path C:\pixi_ws\pixi.toml
50+
pixi upgrade colcon-core --manifest-path C:\pixi_ws\pixi.toml
51+
52+
- name: Get prebuild ROS files and unzip
53+
run: |
54+
irm https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -Outfile ros2-package-windows-AMD64.zip
55+
Expand-Archive -Path ros2-package-windows-AMD64.zip -DestinationPath C:/pixi_ws/
5656
5757
- name: Build the rust package
5858
env:

0 commit comments

Comments
 (0)