Skip to content

Commit

Permalink
testing for single line
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandan-xilinx authored Jun 6, 2024
1 parent 4407055 commit db4d8a7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/xti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,10 @@ jobs:
if: (always() || contains(needs.*.result, 'failure')) && github.event_name != 'pull_request'
steps:
- name: Send GitHub trigger to Slack Workflow Builder
run: |
if [[ "${{ needs.build.result }}" == "success" && "${{ needs.delete_logs.result }}" == "success" ]]; then
echo "success"
else
echo "failure"
fi
run: echo $([[ "${{ needs.build.result }}" == "success" && "${{ needs.delete_logs.result }}" == "success" ]] && echo "success" || echo "failure")
# run: |
# if [[ "${{ needs.build.result }}" == "success" && "${{ needs.delete_logs.result }}" == "success" ]]; then
# echo "success"
# else
# echo "failure"
# fi

0 comments on commit db4d8a7

Please sign in to comment.