Skip to content

Commit 01f1f7d

Browse files
committed
Fix issue
1 parent cb92406 commit 01f1f7d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,23 @@ jobs:
4444
4545
- name: Install ROS2 Rolling (Conditional)
4646
if: ${{ needs.identify-ros-distro.outputs.distro == 'rolling' }}
47-
shell: bash
47+
shell: powershell
4848
run: |
4949
wget --quiet https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -O rolling.zip
5050
7z x rolling.zip -y -o/c/dev/rolling
5151
5252
- uses: actions/checkout@v4
5353

5454
- name: Build rclnodejs
55-
shell: cmd
55+
shell: powershell
5656
run: |
5757
call "c:\dev\${{ needs.identify-ros-distro.outputs.distro }}\ros2-windows\local_setup.bat"
5858
npm i
5959
6060
# On the windows/foxy combination the Eclipse CycloneDDS RMW implementation is used to workaround
6161
# an error when loading the default fastrtps ddl
6262
- name: Test rclnodejs
63-
shell: cmd
63+
shell: powershell
6464
run: |
65-
pixi shell
6665
call "c:\dev\${{ needs.identify-ros-distro.outputs.distro }}\ros2-windows\local_setup.bat"
67-
cmd /c "if ${{ needs.identify-ros-distro.outputs.distro }}==foxy (set RMW_IMPLEMENTATION=rmw_cyclonedds_cpp&&npm test)"
68-
cmd /c "if NOT ${{ needs.identify-ros-distro.outputs.distro }}==foxy (npm test)"
66+
npm test

0 commit comments

Comments
 (0)