Skip to content

Commit

Permalink
Fix outcome conditional
Browse files Browse the repository at this point in the history
Since report is always created
  • Loading branch information
caendesilva committed Mar 22, 2024
1 parent 0034b80 commit a7f87e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
bearerToken="${{ secrets.CI_SERVER_TOKEN }}"
commit="${{ github.event.pull_request.head.sha }}"
if [ -f "report.xml" ]; then
status="true"
if [ ${{ steps.smoke-tests.outcome }} == "failure" ]; then
status=false
else
status="false"
status=true
fi
curl -X POST --fail-with-body \
Expand Down

0 comments on commit a7f87e2

Please sign in to comment.