From f5a2a6ddf997d27653a0470d5e38a525183c3a66 Mon Sep 17 00:00:00 2001 From: AndrewChubatiuk Date: Thu, 15 Aug 2024 16:32:01 +0300 Subject: [PATCH] added comment --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 465d9cda..bcaa40fc 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -24,6 +24,8 @@ jobs: steps: - name: Free space run: | + # cleanup up space to free additional ~20GiB of memory + # which are lacking for multiplaform images build formatByteCount() { echo $(numfmt --to=iec-i --suffix=B --padding=7 $1'000'); } getAvailableSpace() { echo $(df -a $1 | awk 'NR > 1 {avail+=$4} END {print avail}'); } BEFORE=$(getAvailableSpace)