Skip to content

Commit

Permalink
Compare against exit code 0, as failed builds can have different exit…
Browse files Browse the repository at this point in the history
… codes
  • Loading branch information
fmauch committed Mar 4, 2024
1 parent f19fd0f commit 079222e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-industrial-ci-with-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
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
if: ${{ always() && (steps.ici.outputs.build_target_workspace == '1' || steps.ici.outputs.run_target_test || steps.ici.outputs.target_test_results == '1' ) && github.event_name == 'schedule' }}
if: ${{ always() && (steps.ici.outputs.build_target_workspace != '0' || steps.ici.outputs.target_test_results == '1' ) && github.event_name == 'schedule' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/${{ inputs.ros_repo }}
Expand All @@ -115,7 +115,7 @@ jobs:
update_existing: true
filename: .github/issue_template_failed_ci.md
- uses: JasonEtco/create-an-issue@v2
if: ${{ always() && (steps.ici.outputs.build_downstream_workspace == '1' || steps.ici.outputs.run_downstream_test || steps.ici.outputs.downstream_test_results == '1' ) && github.event_name == 'schedule' }}
if: ${{ always() && (steps.ici.outputs.build_downstream_workspace != '0' || steps.ici.outputs.downstream_test_results == '1' ) && github.event_name == 'schedule' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/${{ inputs.ros_repo }}
Expand Down

0 comments on commit 079222e

Please sign in to comment.