Skip to content

Commit

Permalink
fix(diff.sh): remove simmilarity.py after use
Browse files Browse the repository at this point in the history
  • Loading branch information
bend-n committed Sep 29, 2022
1 parent ef98186 commit b7cafb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ echo -e "]\nprint(round(abs(avg(ls * 100) - 100), 3))" >>simmilarity.py
[[ -f "$GITHUB_STEP_SUMMARY" ]] &&
echo "# $(./simmilarity.py)% similar" >"$GITHUB_STEP_SUMMARY"
echo "[average]: $(./simmilarity.py)% similar"
rm ./simmilarity.py

[[ -n "$errors" ]] && exit 1 # for github actions to report a failure

Expand Down

0 comments on commit b7cafb8

Please sign in to comment.