try to free up more space

This commit is contained in:
Daylin Morgan 2024-06-13 14:29:07 -05:00
parent 95ec3edea6
commit 669d077694
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -29,8 +29,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# free up some space
- run: sudo rm -rf /opt&
# The default disk size of these runners is ~14GB
# Cleanup the disk, see upstream discussion https://github.com/actions/runner-images/issues/2840.
- name: Cleanup Disk Space
run: |
echo "Before removing files:"
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "After removing files:"
df -h
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main