Update main.yml #14
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
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: | |
ros-distro: humble | |
- name: Build workspace | |
run: ./opt/ros/humble/setup.bash |