Skip to content

Commit a85ecaa

Browse files
authored
fix: make disk space for linux CI builds (#1462)
1 parent 28465b6 commit a85ecaa

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,35 @@ jobs:
141141
linux:
142142
runs-on: ubuntu-latest
143143
steps:
144+
- name: Remove unnecessary tools
145+
run: |
146+
# Remove .NET SDKs
147+
sudo rm -rf /usr/share/dotnet
148+
149+
# Remove Swift toolchain
150+
sudo rm -rf /usr/share/swift
151+
152+
# Remove Haskell (GHC)
153+
sudo rm -rf /usr/local/.ghcup
154+
155+
# Remove Julia
156+
sudo rm -rf /usr/local/julia*
157+
158+
# Remove Android SDKs
159+
sudo rm -rf /usr/local/lib/android
160+
161+
# Remove Chromium
162+
sudo rm -rf /usr/local/share/chromium
163+
164+
# Remove Microsoft/Edge and Google Chrome builds
165+
sudo rm -rf /opt/microsoft /opt/google
166+
167+
# Remove Azure CLI
168+
sudo rm -rf /opt/az
169+
170+
# Remove PowerShell
171+
sudo rm -rf /usr/local/share/powershell
172+
144173
- name: Checkout sources
145174
uses: actions/checkout@v4
146175
with:

0 commit comments

Comments
 (0)