Skip to content

Commit 84840e1

Browse files
zsylvesterclaude
andcommitted
Free disk space in CI before installing dependencies
Remove preinstalled .NET, Android SDK, GHC, and CodeQL to reclaim ~15GB for tensorflow + sam2 installation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 29aebf9 commit 84840e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18+
- name: Free disk space
19+
run: |
20+
sudo rm -rf /usr/share/dotnet
21+
sudo rm -rf /usr/local/lib/android
22+
sudo rm -rf /opt/ghc
23+
sudo rm -rf /opt/hostedtoolcache/CodeQL
1824
- uses: actions/checkout@v4
1925
- name: Set up Python 3.10
2026
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)