Skip to content

Commit

Permalink
chore: free up disk space in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbrm committed Nov 6, 2024
1 parent 7866fb2 commit b9bf26f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,18 @@ jobs:
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d vault;
sleep 3
- name: Show Disk Usage
- name: Free Disk Space
run: |
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100;
df -h;
du -s -h /usr/share/*
du -s -h /opt/*
sudo apt-get remove -y '^ghc-8.*';
sudo apt-get remove -y '^dotnet-.*';
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel microsoft-edge-stable;
sudo apt-get autoremove -y;
sudo apt-get clean;
rm -rf /usr/share/dotnet/;
df -h;
- name: Run Tests
run: |
Expand Down

0 comments on commit b9bf26f

Please sign in to comment.