Skip to content

Commit

Permalink
[ci] Fix broken all_tests_passed
Browse files Browse the repository at this point in the history
Whoopsie...

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
seldridge committed Aug 4, 2023
1 parent 7b0c2c5 commit a2cc432
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ jobs:
needs: check-tests
# Pass only if check-tests set its output value
steps:
- run: PASSED=${{ needs.check-tests.outputs.success }}
- run: |
PASSED=${{ needs.check-tests.outputs.success }}
if [[ $PASSED == "true" ]]; then
echo "### All tests passed! :rocket:" >> $GITHUB_STEP_SUMMARY
exit 0
else
echo "### One or more tests FAILED! :bangbang:" >> $GITHUB_STEP_SUMMARY
exit 1
fi
# sbt ci-release publishes all cross versions so this job needs to be
# separate from a Scala versions build matrix to avoid duplicate publishing
Expand Down

0 comments on commit a2cc432

Please sign in to comment.