Update main.yml #22
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: 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 |