File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Disk cleanup
2+ description : Clean up disk space by removing unnecessary files
3+ runs :
4+ using : ' composite'
5+ steps :
6+ - name : Clean up unnecessary files
7+ shell : bash
8+ run : |
9+ # Remove .NET SDKs
10+ sudo rm -rf /usr/share/dotnet
11+
12+ # Remove Swift toolchain
13+ sudo rm -rf /usr/share/swift
14+
15+ # Remove Haskell (GHC)
16+ sudo rm -rf /usr/local/.ghcup
17+
18+ # Remove Julia
19+ sudo rm -rf /usr/local/julia*
20+
21+ # Remove Chromium (optional if not using for browser tests)
22+ sudo rm -rf /usr/local/share/chromium
23+
24+ # Remove Microsoft/Edge and Google Chrome builds
25+ sudo rm -rf /opt/microsoft /opt/google
26+
27+ # Remove Azure CLI
28+ sudo rm -rf /opt/az
29+
30+ # Remove PowerShell
31+ sudo rm -rf /usr/local/share/powershell
32+
33+ # Remove CodeQL and other toolcaches
34+ sudo rm -rf /opt/hostedtoolcache
Original file line number Diff line number Diff line change 3434 with :
3535 fetch-depth : 1
3636
37+ - name : Show disk usage
38+ uses : ./.github/actions/disk-usage
39+
40+ - name : Cleanup disk
41+ uses : ./.github/actions/cleanup-disk
42+
3743 - name : Setup Gradle environment
3844 uses : ./.github/actions/setup-gradle
3945 with :
You can’t perform that action at this time.
0 commit comments