diff --git a/action.yml b/action.yml index feb99ac..9c7d4d1 100644 --- a/action.yml +++ b/action.yml @@ -285,7 +285,7 @@ runs: export CMD ./custom_cmd.sh - if [ -s "$PRINTS" ] && tail -n 1 "$PRINTS" | grep -q '--- PRINTS of test run command (before pytest) ---'; then + if [ -s "$PRINTS" ] && tail -n 1 "$PRINTS" | grep -q '--- PRINTS of test run command (after pytest) ---'; then sed -i '$d' "$PRINTS" fi