Skip to content

Commit d9a143c

Browse files
committed
action: Use grouped output
1 parent 132d93e commit d9a143c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup-mpi.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ case $(uname) in
77

88
Linux)
99
MPI="${MPI:-mpich}"
10-
echo "Installing $MPI with apt"
10+
echo "::group::Installing $MPI with apt"
1111
sudo apt update
1212
case $MPI in
1313
mpich)
@@ -21,11 +21,12 @@ case $(uname) in
2121
exit 1
2222
;;
2323
esac
24+
echo "::endgroup::"
2425
;;
2526

2627
Darwin)
2728
MPI="${MPI:-mpich}"
28-
echo "Installing $MPI with brew"
29+
echo "::group::Installing $MPI with brew"
2930
case $MPI in
3031
mpich)
3132
brew install mpich
@@ -38,11 +39,12 @@ case $(uname) in
3839
exit 1
3940
;;
4041
esac
42+
echo "::endgroup::"
4143
;;
4244

4345
Windows* | MINGW* | MSYS*)
4446
MPI="${MPI:-msmpi}"
45-
echo "Installing $MPI"
47+
echo "::group::Installing $MPI"
4648
case $MPI in
4749
msmpi)
4850
sdir=$(dirname "${BASH_SOURCE[0]}")
@@ -53,6 +55,7 @@ case $(uname) in
5355
exit 1
5456
;;
5557
esac
58+
echo "::endgroup::"
5659
;;
5760

5861
*)

0 commit comments

Comments
 (0)