Skip to content

Commit

Permalink
Use check for != '0' for build and test results
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Mar 4, 2024
1 parent 079222e commit 509fbb9
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 != '0' || 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 != '0' ) && 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 != '0' || 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 != '0' ) && github.event_name == 'schedule' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/${{ inputs.ros_repo }}
Expand Down

0 comments on commit 509fbb9

Please sign in to comment.