Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Fix CI by upgrading to action-ros-ci 0.1.0 (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Emerson Knapp <[email protected]>
  • Loading branch information
emersonknapp authored Nov 23, 2020
1 parent 01d0529 commit a2266c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ jobs:
ROS_DISTRO: ${{ matrix.ros_distro }}
ROS_VERSION: 1
steps:
# TODO(setup-ros-docker#7): calling chown is necessary for now
- name: Run setup-ros-docker workaround
run: sudo chown -R rosbuild:rosbuild "$HOME" .
# Needed to access the vcs repos file from the workspace
- name: Checkout source
uses: actions/checkout@v2
- name: Run action-ros-ci to build and test
uses: ros-tooling/action-ros-ci@0.0.17
uses: ros-tooling/action-ros-ci@0.1.0
with:
source-ros-binary-installation: ${{ matrix.ros_distro }}
target-ros1-distro: ${{ env.ROS_VERSION == '1' && matrix.ros_distro || '' }}
target-ros2-distro: ${{ env.ROS_VERSION == '2' && matrix.ros_distro || '' }}
package-name: aws_ros1_common
extra-cmake-args: ${{ matrix.extra_cmake_args }}
vcs-repo-file-url: ''
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/build_and_test_release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ jobs:
ROS_DISTRO: ${{ matrix.ros_distro }}
ROS_VERSION: 1
steps:
# TODO(setup-ros-docker#7): calling chown is necessary for now
- name: Run setup-ros-docker workaround
run: sudo chown -R rosbuild:rosbuild "$HOME" .
# Needed to access the vcs repos file from the workspace
- name: Checkout source
uses: actions/checkout@v2
- name: Run action-ros-ci to build and test
uses: ros-tooling/action-ros-ci@0.0.17
uses: ros-tooling/action-ros-ci@0.1.0
with:
source-ros-binary-installation: ${{ matrix.ros_distro }}
target-ros1-distro: ${{ env.ROS_VERSION == '1' && matrix.ros_distro || '' }}
target-ros2-distro: ${{ env.ROS_VERSION == '2' && matrix.ros_distro || '' }}
package-name: aws_ros1_common
extra-cmake-args: ${{ matrix.extra_cmake_args }}
# schedule runs against the default branch (master), so specify release-latest via repos file
Expand Down

0 comments on commit a2266c6

Please sign in to comment.