Skip to content

Update main.yml

Update main.yml #22

Workflow file for this run

name: Humble Source Build
# You may pin to the exact commit or the version.
# uses: ros/tooling-setup-actions/setup-ros@v1
on:
push:
branches:
- ezBot-ROS_ws
jobs:
build_docker:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
steps:
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- run: "source /opt/ros/humble/setup.bash && ros2 run --help"
shell: bash
- run: "source /opt/ros/noetic/setup.bash && rosnode --help"
shell: bash
- uses: ros-tooling/[email protected]
with:
package-name: my_package
target-ros2-distro: humble