We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29984a4 commit c021b0aCopy full SHA for c021b0a
build/bin/sage-logger
@@ -90,15 +90,13 @@ else
90
# We trap SIGINT such that SIGINT interrupts the main process being
91
# run, not the logging.
92
93
- if [ -n "$$(GITHUB_ACTIONS)" ]; then echo "::group::${logname}"; fi
+
94
95
( exec 2>&1; eval "$cmd" ) | \
96
- ( trap '' SIGINT; tee -a "$logfile" | $SED )
+ ( trap '' SIGINT; if [ -n "$$(GITHUB_ACTIONS)" ]; then echo "::group::${logname}"; fi; tee -a "$logfile" | $SED; if [ -n "$$(GITHUB_ACTIONS)" ]; then echo "::endgroup::"; fi )
97
98
pipestatus=(${PIPESTATUS[*]})
99
100
- if [ -n "$$(GITHUB_ACTIONS)" ]; then echo "::endgroup::"; fi
101
-
102
if [ ${pipestatus[1]} -ne 0 ]; then
103
exit ${pipestatus[1]}
104
else
0 commit comments