Skip to content

Commit ed2eecc

Browse files
committed
Free more space in the GHA runner
1 parent 67acee1 commit ed2eecc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.run-gha-tests.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
set -eux
33
export OPAMYES=true
44

5+
# Free some space
6+
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
7+
sudo rm -rf /usr/share/dotnet
8+
sudo rm -rf /opt/ghc
9+
sudo rm -rf "/usr/local/share/boost"
10+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
11+
512
sudo chmod a+x /usr/local/bin/runc
613

714
sudo sh -c "cat > /usr/local/bin/uname" << EOF
@@ -86,4 +93,3 @@ case "$1" in
8693
printf "Usage: .run-gha-tests.sh [btrfs|rsync|zfs]" >&2
8794
exit 1
8895
esac
89-

0 commit comments

Comments
 (0)