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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# free up some space # The default disk size of these runners is ~14GB
- run: sudo rm -rf /opt& # 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: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main