We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6edd77e commit 6e024fcCopy full SHA for 6e024fc
.github/workflows/main.yml
@@ -248,6 +248,8 @@ jobs:
248
249
steps:
250
- uses: actions/checkout@v4
251
+ - name: Free up disk space
252
+ run: ./CI/gha-free-disk-space.sh
253
- name: Run Tests on Android emulator
254
uses: skiptools/swift-android-action@v2
255
with:
CI/gha-free-disk-space.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+
3
+set -euxo pipefail
4
5
+echo "===== Checking disk space before cleanup ====="
6
7
+df -h
8
9
+echo "===== Cleaning up unused files to free disk space ====="
10
11
+sudo rm -rf \
12
+ /usr/share/dotnet \
13
+ /opt/ghc \
14
+ /opt/hostedtoolcache/CodeQL
15
16
+docker image prune --all --force
17
+docker builder prune -a
18
19
+echo "===== Checking disk space after cleanup ====="
20
0 commit comments