Skip to content

Commit

Permalink
Restore moar space moar carefully
Browse files Browse the repository at this point in the history
  • Loading branch information
polybluez committed Jan 19, 2025
1 parent 56e4e8d commit 0feb801
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v29
- name: Free disk space
uses: jlumbroso/free-disk-space@main
- name: Remove unnecessary packages
run: | # stolen from https://github.com/easimon/maximize-build-space and https://github.com/actions/runner-images/issues/2840
echo "=== Before pruning ==="
df -h
sudo rm -rf /opt || :
sudo rm -rf /usr/share/dotnet || :
sudo rm -rf "/usr/local/share/boost" || :
sudo rm -rf "$AGENT_TOOLSDIRECTORY" || :
echo
echo "=== After pruning ==="
df -h
# To make the environment in the flake's devShell available to future steps:
- uses: rrbutani/use-nix-shell-action@v1
with:
Expand Down

0 comments on commit 0feb801

Please sign in to comment.