Skip to content

Commit

Permalink
CI : Fix individual actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rcywongaa committed Oct 4, 2024
1 parent 6a052e6 commit 8e786f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/optimize_path/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ runs:

- name: Optimize trajectory
run: python3 optimize_feasible.py --filename topo_geo_paths/trajectory${{ inputs.path_index }}.txt --output trajectory${{ inputs.path_index }}_opt.txt 2>/dev/null
shell: bash

- name: Upload optimized trajectory
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/visualize_path/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ runs:
# Skip warehouse-ros-mongo dependency: https://github.com/moveit/warehouse_ros_mongo/issues/75
- name: Build ros2_ws
run: cd ros2_ws && source /opt/ros/humble/setup.bash && rosdep update && rosdep install -r -y --from-paths . --ignore-src --skip-keys warehouse_ros_mongo && colcon build
shell: bash

# - name: Build ros2_ws
# run: cd ros2_ws && source /opt/ros/humble/setup.bash && colcon build

- name: Visualize
run: source ros2_ws/install/setup.bash; python3 drake_viz.py --filename=trajectory${{ inputs.path_index }}_opt.txt --html_output=trajectory${{ inputs.path_index }}_opt.html
shell: bash

- name: Upload trajectory${{ inputs.path_index }}_opt.html
uses: actions/upload-artifact@v4
with:
name: trajectory${{ inputs.path_index }}_opt.html
path: trajectory${{ inputs.path_index }}_opt.html
shell: bash

0 comments on commit 8e786f6

Please sign in to comment.