-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
name: ROS 2 Workspace Action | ||
# You may pin to the exact commit or the version. | ||
uses: ichiro-its/[email protected] | ||
with: | ||
# The ROS 2 distribution to be used | ||
distro: humble # optional, default is iron | ||
# uses: ros/tooling-setup-actions/setup-ros@v1 | ||
name: ROS 2 Workspace Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- ezBot-ROS_ws | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Deploy app | ||
run: exit 0 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up ROS | ||
uses: ros/tooling-setup-actions/setup-ros@v1 | ||
with: | ||
ros-distro: humble | ||
|
||
- name: Build workspace | ||
run: colcon build |