Skip to content

Bandamo try to compile ROS2 for 7Robot/nav_node #16

Bandamo try to compile ROS2 for 7Robot/nav_node

Bandamo try to compile ROS2 for 7Robot/nav_node #16

name: Compile ROS2
run-name: ${{ github.actor }} try to compile ROS2 for ${{ github.repository }}
on: [push]
jobs:
Checkout_the_repository:
runs-on: ros
steps:
- run: echo "Checking out the repository"
- uses: actions/checkout@v4
Copy_to_usable_workspace:
runs-on: ros
steps:
- name:
run: |
echo "Repository name : " $(ls)
echo "Removing old files..."
- run: rm -rf ../../ROS2_main_dir/src/$(ls ..)
- run: echo "Copy files..."
- run: cp -r ../$(ls ..) ../../ROS2_main_dir/src
Build packages:

Check failure on line 22 in .github/workflows/compilation_verif.yml

View workflow run for this annotation

GitHub Actions / Compile ROS2

Invalid workflow file

The workflow is not valid. .github/workflows/compilation_verif.yml (Line: 22, Col: 3): The identifier 'Build packages' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ros
steps:
- run: REPO_NAME=$(ls ..) && cd ../../ROS2_main_dir/ && colcon build --packages-up-to $REPO_NAME