Skip to content

Commit

Permalink
fix: Clean up ubuntu cache
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Dec 5, 2024
1 parent 2119a19 commit 6089873
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ jobs:
with:
submodules: 'recursive'

- 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: Set Version Code
run: |
echo "Received Number: ${{ github.run_number }}"
Expand Down

0 comments on commit 6089873

Please sign in to comment.