Update ros-ci.yml

trying to resolve catkin command not found issue
This commit is contained in:
Du Ruixiang
2020-08-15 21:58:55 +08:00
committed by GitHub
parent be922103a2
commit 75ec305b47

View File

@@ -22,7 +22,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup catkin workspace - name: Setup catkin workspace
run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && catkin_init_workspace run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && source /opt/ros/melodic/setup.bash && catkin_init_workspace
- name: Copy code to catkin workspace - name: Copy code to catkin workspace
run: cp -r $GITHUB_WORKSPACE/wrp_sdk /catkin_ws/src run: cp -r $GITHUB_WORKSPACE/wrp_sdk /catkin_ws/src
- name: Run catkin_make - name: Run catkin_make