Skip to content

fix 4 hardcode

fix 4 hardcode #11

Workflow file for this run

on: [push]
permissions:
contents: write
jobs:
build_testing:
runs-on: ubuntu-22.04
strategy:
matrix:
ros_distro: [humble]
deb_distro: [jammy]
arch: [
amd64,
# armhf
]
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: rm -rf ./mirte* ./srces # don't want our packages to be in the way
- run: |
set -xe
sudo apt install git
mkdir -p srces/
wget https://github.com/ros2-gbp/ament_cmake-release/archive/release/humble/ament_cmake_core/1.3.10-1.tar.gz -O /tmp/ament_cmake_core-1.3.10-1.tar.gz
tar -xvf /tmp/ament_cmake_core-1.3.10-1.tar.gz -C ./srces/
ls -l ./srces/ament_cmake*
# ls -l ./srces/ament_cmake*/cmake/
# ls -l ./srces/ament_cmake*/cmake/package_templates/
# ls -l /tmp/ament_package
git clone https://github.com/ament/ament_package.git -b humble /tmp/ament_package || echo ls /asdf
ls -l /tmp/ament_package
mv /tmp/ament_package/ament_package/ ./srces/ament_cmake-release-release-humble-ament_cmake_core-1.3.10-1/cmake/package_templates/ament_package
# tree ./srces/ament_cmake-release-release-humble-ament_cmake-1.3.10-1
- uses: arendjan/ros-deb-builder-action@main
with:
ROS_DISTRO: ${{ matrix.ros_distro }}
DEB_DISTRO: ${{ matrix.deb_distro }}
DEB_ARCH: ${{ matrix.arch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOS_FILE: ./ros2_err_sources_e.repos
SKIP_CHECKOUT: true
PACKAGES_BRANCH: ros_err_amd64