Skip to content

Commit

Permalink
use dedicate action for disk space free
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow committed Mar 6, 2025
1 parent ec119f2 commit 35ce780
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ jobs:

- name: Free up disk space
if: matrix.target.os == 'ubuntu-latest'
run: sudo rm -rf /usr/share/dotnet && sudo rm -rf /usr/local/lib/android && sudo rm -rf /opt/ghc && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit 35ce780

Please sign in to comment.