Skip to content

Commit

Permalink
ci: free disk space before build
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Nov 12, 2024
1 parent 98f4e08 commit 9998563
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/android.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Free Disk Space Before Build
run: |
echo "Disk space before cleanup:"
df -h
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /usr/local/lib/android/sdk/ndk
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo apt-get clean
echo "Disk space after cleanup:"
df -h
- name: Setup Node
uses: ./.github/actions/setup-node-with-cache

Expand Down

0 comments on commit 9998563

Please sign in to comment.