Skip to content

Commit

Permalink
Report issue also on source build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed May 11, 2024
1 parent 7c6e482 commit 2904768
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reusable-ros-tooling-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@ jobs:
https://raw.githubusercontent.com/ros2/ros2/${{ inputs.ros2_repo_branch }}/ros2.repos
${{ env.path }}/${{ steps.package_list_action.outputs.repo_name }}.${{ inputs.ros_distro }}.repos
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
id: action-ros
- name: Download issue template for target failure # Has to be a local file
if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule' }}
run:
wget https://raw.githubusercontent.com/ros-controls/ros2_control_ci/master/.github/issue_template_failed_ci.md -O .github/issue_template_failed_ci.md
- uses: JasonEtco/create-an-issue@v2
# action-ros-ci does not report more details on test failures afaik
if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule'}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/source
REF: ${{ inputs.ref }}
URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
with:
update_existing: true
filename: .github/issue_template_failed_ci.md
- uses: actions/upload-artifact@v4.3.3
with:
name: colcon-logs-${{ inputs.os_name }}-${{ inputs.ros_distro }}
Expand Down

0 comments on commit 2904768

Please sign in to comment.