File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 fetch-depth : 0
3535
36+ # This step will free up disc space on the runner by removing
37+ # lots of things that we do not need.
38+ - name : disc
39+ shell : bash
40+ run : |
41+ echo "Listing 100 largest packages"
42+ dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
43+ df -h
44+ echo "Removing large packages"
45+ sudo apt-get remove -y '^dotnet-.*' || true
46+ sudo apt-get remove -y '^llvm-.*' || true
47+ sudo apt-get remove -y 'monodoc-http' || true
48+ sudo apt-get remove -y 'php.*' || true
49+ sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
50+ sudo apt-get autoremove -y || true
51+ sudo apt-get clean
52+ df -h
53+ echo "Removing large directories"
54+ rm -rf /usr/share/dotnet/
55+ sudo rm -rf /usr/local/lib/android
56+ df -h
57+
3658 - name : Get Docker Images
3759 shell : bash
3860 run : |
You can’t perform that action at this time.
0 commit comments