Skip to content

Commit 1abed3f

Browse files
committed
FIX: Dont break the pipe
1 parent 74f53b5 commit 1abed3f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/check_installation.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ echo "::endgroup::"
2323
N=100
2424
echo "::group::package sizes (top $N)"
2525
# https://stackoverflow.com/a/67976448/2175965
26-
grep '"size":' ${CONDA_PREFIX}/conda-meta/*.json | sort -k3rn | sed 's/.*conda-meta\///g' | sed 's/"size": //g' | head -n $N | column -t
26+
grep '"size":' ${CONDA_PREFIX}/conda-meta/*.json | sort -k3rn | sed 's/.*conda-meta\///g' | sed 's/"size": //g' > package_sizes.txt
27+
head -n $N package_sizes.txt
2728
echo "::endgroup::"
2829

2930
# Now that we have the package sizes listed, raise an error if the installer is too big

0 commit comments

Comments
 (0)