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