Skip to content

Commit 04b8940

Browse files
committed
Fix rolling error for Windows
1 parent 03c2ab1 commit 04b8940

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/windows-build-and-test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ jobs:
5050
uses: ros-tooling/[email protected]
5151
with:
5252
required-ros-distributions: ${{ matrix.ros_distribution }}
53-
use-ros2-testing: true
53+
54+
- name: Install ROS2 Rolling (Conditional)
55+
if: ${{ matrix.ros_distribution == 'rolling' }}
56+
shell: bash
57+
run: |
58+
wget --quiet https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -O rolling.zip
59+
7z x rolling.zip -y -o/c/dev/rolling
5460
5561
- name: Prebuild - Setup VS Dev Environment
5662
uses: seanmiddleditch/gha-setup-vsdevenv@v4

0 commit comments

Comments
 (0)