Skip to content

Commit 1535f43

Browse files
Merge pull request #2 from protocol/group
group output by directory
2 parents 344272c + 9ce356a commit 1535f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ runs:
1313
run: |
1414
status=0
1515
for dir in $(find . \( -name vendor -o -name '[._].*' -o -name node_modules \) -prune -o -name go.mod -print | sed 's:/go.mod$::'); do
16-
echo "#=#=#=# $dir #=#=#=#"
1716
pushd $dir > /dev/null
17+
echo "::group::$dir"
1818
(
1919
${{ inputs.run }}
2020
)
21+
echo "::endgroup::"
2122
s=$?
2223
if [[ $s != 0 ]]; then status=$s; fi
2324
popd > /dev/null
24-
echo -e "\n\n"
2525
done
2626
exit $status

0 commit comments

Comments
 (0)