Skip to content

Update main.yml

Update main.yml #4

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
name: ROS 2 Workspace Build

Check failure on line 4 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
on:
push:
branches:
- ezBot-ROS_ws
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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