diff --git a/.github/workflows/build-boxkit.yml b/.github/workflows/build-boxkit.yml index b104b247..6077e478 100644 --- a/.github/workflows/build-boxkit.yml +++ b/.github/workflows/build-boxkit.yml @@ -31,6 +31,23 @@ jobs: - boxkit #- fedora-example # Included as an example to demonstrate multi-image builds, uncomment to build the fedora-example container too steps: + # Remove unused stuff to free disk space + - name: Free Disk Space + uses: endersonmenezes/free-disk-space@7901478139cff6e9d44df5972fd8ab8fcade4db1 + with: + remove_android: true + remove_dotnet: true + remove_haskell: true + remove_tool_cache: false + remove_swap: true + # uncomment below line to free another ~5 GiB for the price of another ~90s runtime cost + # remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql* dotnet-sdk-*" + remove_packages_one_command: true + remove_folders: "/usr/share/swift /usr/share/miniconda /usr/share/az* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell /usr/local/julia /usr/local/aws-cli /usr/local/aws-sam-cli /usr/share/gradle" + rm_cmd: "rmz" # see https://github.com/SUPERCILEX/fuc for more info + rmz_version: "3.1.1" + testing: false + # Clone code to runner - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5