simplify it.sh
This commit is contained in:
parent
6491d792f5
commit
fc1699bb97
|
@ -6,11 +6,10 @@ function section {
|
|||
e=$'\e'
|
||||
if [ ! -z "${GITHUB_ACTION:-}" ]; then
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
if [ ! -z "${GITHUB_ACTION:-}" ]; then
|
||||
echo "::group::$@"
|
||||
else
|
||||
echo "$e[1m$@$e[m"
|
||||
fi
|
||||
echo "$e[1m$@$e[m"
|
||||
}
|
||||
|
||||
function error {
|
||||
|
|
Loading…
Reference in New Issue