Skip to content

Commit 3424686

Browse files
committed
Prune unneeded CI files to free disk space
1 parent 7fc877e commit 3424686

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,25 @@ jobs:
5353
needs: build-group
5454
runs-on: ubuntu-latest
5555
steps:
56+
- name: Remove unnecessary files to release disk space
57+
run: |
58+
sudo rm -rf \
59+
"$AGENT_TOOLSDIRECTORY" \
60+
/opt/ghc \
61+
/opt/google/chrome \
62+
/opt/microsoft/msedge \
63+
/opt/microsoft/powershell \
64+
/opt/pipx \
65+
/usr/lib/mono \
66+
/usr/local/julia* \
67+
/usr/local/lib/android \
68+
/usr/local/lib/node_modules \
69+
/usr/local/share/chromium \
70+
/usr/local/share/powershell \
71+
/usr/local/share/powershell \
72+
/usr/share/dotnet \
73+
/usr/share/swift
74+
5675
- uses: actions/checkout@v4
5776

5877
- uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)