Skip to content

Commit 4aa536d

Browse files
authored
use GITHUB_WORKSPACE instead of hardcoded dir winCI (#489)
* use GITHUB_WORKSPACE instead of hardcoded dir winCI * add status badge for windows build * change name windows build for consistency
1 parent d62583d commit 4aa536d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/rust-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust ROS 2 Windows build
1+
name: Rust Windows
22

33
on:
44
push:
@@ -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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ROS 2 for Rust
33

44
[![Minimal Version Status](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-minimal.yml/badge.svg?branch=main)](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-minimal.yml)
55
[![Stable CI Status](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-stable.yml/badge.svg?branch=main)](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-stable.yml)
6+
[![Win CI Status](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-win.yml/badge.svg?branch=main)](https://github.com/ros2-rust/ros2_rust/actions/workflows/rust-win.yml)
67
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
78

89
Introduction

0 commit comments

Comments
 (0)