From d57d7971a3fd64502c146c1b6647d62f3e207162 Mon Sep 17 00:00:00 2001 From: rafal-gorecki <126687345+rafal-gorecki@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:19:56 +0100 Subject: [PATCH] Fix action (#38) * action update * new action code * simplify * new * only humble * test * undo --- .github/workflows/colcon_test_build.yaml | 34 ++++-------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/colcon_test_build.yaml b/.github/workflows/colcon_test_build.yaml index e2b406e..e335369 100644 --- a/.github/workflows/colcon_test_build.yaml +++ b/.github/workflows/colcon_test_build.yaml @@ -1,48 +1,24 @@ name: ROS2 test build on: - push: - branches: - - 'ros2' - -jobs: - colcon-test-build-ubuntu-20-04: - strategy: - matrix: - build-type: [ignition-gazebo, gazebo-classic] - ros-distro: [foxy, galactic] - env: - GAZEBO_VERSION: ${{ matrix.build-type }} - - runs-on: ubuntu-20.04 + - push - name: ${{ matrix.ros-distro }} - steps: - - uses: ros-tooling/setup-ros@v0.3 - with: - required-ros-distributions: ${{ matrix.ros-distro }} - - uses: ros-tooling/action-ros-ci@v0.2 - with: - package-name: ros_components_description - target-ros2-distro: ${{ matrix.ros-distro }} - +jobs: colcon-test-build-ubuntu-22-04: strategy: matrix: build-type: [ignition-gazebo, gazebo-classic] ros-distro: [humble] - env: GAZEBO_VERSION: ${{ matrix.build-type }} - runs-on: ubuntu-22.04 name: ${{ matrix.ros-distro }} steps: - - uses: ros-tooling/setup-ros@v0.3 + - uses: ros-tooling/setup-ros@v0.7 with: required-ros-distributions: ${{ matrix.ros-distro }} - - uses: ros-tooling/action-ros-ci@v0.2 + - uses: ros-tooling/action-ros-ci@v0.3 with: package-name: ros_components_description - target-ros2-distro: ${{ matrix.ros-distro }} \ No newline at end of file + target-ros2-distro: ${{ matrix.ros-distro }}