File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,19 @@ jobs:
3333
3434 steps :
3535 - name : Maximize build disk space
36+ shell : bash -l {0}
3637 run : |
37- echo "Removing dotnet..."
38- sudo rm -rf /usr/share/dotnet
39- echo "Removing android..."
40- sudo rm -rf /usr/local/lib/android
41- echo "Removing ghc..."
42- sudo rm -rf /opt/ghc
43- echo "Removing codeql..."
44- sudo rm -rf /opt/hostedtoolcache/CodeQL
45- echo "... done"
38+ for x in /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL; do
39+ echo "Removing $x..."
40+ cd "$x"
41+ perl -e 'for(<*>){((stat)[9]<(unlink))}' # https://unix.stackexchange.com/a/79656/
42+ echo "... done"
43+ df
44+ done
45+ echo "Removed all"
4646 df
4747
48+
4849 - uses : actions/checkout@v4
4950
5051 - name : Merge CI fixes from sagemath/sage
You can’t perform that action at this time.
0 commit comments