Skip to content

Update main.yml

Update main.yml #19

Workflow file for this run

name: ROS 2 Workspace Action
# 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:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up ROS
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: Build workspace
run: sudo apt-get update & sudo apt-get -y install ament-cmake &&\
/bin/bash /opt/ros/humble/setup.bash && colcon build