File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,9 @@ STARTED_AT=$(date +%s)
12
12
13
13
function freeUpDiskSpace() {
14
14
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
22
18
}
23
19
24
20
freeUpDiskSpace
You can’t perform that action at this time.
0 commit comments