Skip to content

Commit 1c96d5c

Browse files
HACK: Free disk space on the runner
1 parent a71c5b7 commit 1c96d5c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-swift-debugging.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ jobs:
88
runs-on: ubuntu-22.04
99
timeout-minutes: 360
1010
steps:
11+
- name: Free disk space
12+
run: |
13+
df -h
14+
sudo rm -rf /opt/hostedtoolcache
15+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
16+
sudo apt clean
17+
if docker info > /dev/null 2>&1; then
18+
docker rmi $(docker image ls -aq)
19+
fi
20+
df -h
1121
- uses: actions/checkout@v4
1222
- name: Create .gclient file
1323
run: |

0 commit comments

Comments
 (0)