Skip to content

Commit 70cf12b

Browse files
committed
fix clean-up
Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
1 parent d6b7dbb commit 70cf12b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tools/ci-env-clean-up.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ STARTED_AT=$(date +%s)
1212

1313
function freeUpDiskSpace() {
1414
echo "$(date +%FT%T%z) [CI] Freeing up disk space by deleting Android and .NET ..."
15-
if [ "${FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED:-true}" = "true" ]; then
16-
echo "$(date +%FT%T%z) [CI] Freeing up GitHub Action Runner disk space disabled. Skipping..."
17-
else
18-
echo "$(date +%FT%T%z) [CI] Freeing up GitHub Action Runner disk space by deleting Android and .NET ..."
19-
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
20-
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
21-
fi
15+
echo "$(date +%FT%T%z) [CI] Freeing up GitHub Action Runner disk space by deleting Android and .NET ..."
16+
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
17+
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
2218
}
2319

2420
freeUpDiskSpace

0 commit comments

Comments
 (0)