smallprogram/Maximize build disk space

Maximize the available disk space for your build job

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
root-reserve-mbSpace to be left free on the root filesystem, in Megabytes.no1024
temp-reserve-mbSpace to be left free on the temp filesystem (/mnt), in Megabytes.no100
swap-size-mbSwap space to create, in Megabytes.no4096
overprovision-lvmCreate the LVM disk images as sparse files, making the space required for the LVM image files *appear* unused on the hosting volumes until actually allocated. Use with care, this can lead to surprising out-of-disk-space situations. You should prefer adjusting root-reserve-mb/temp-reserve-mb over using this option. nofalse
build-mount-pathAbsolute path to the mount point where the build space will be available, defaults to $GITHUB_WORKSPACE if unset.no
build-mount-path-ownershipOwnership of the mount point path, defaults to standard "runner" user and group.norunner:runner
pv-loop-pathAbsolute file path for the LVM image created on the root filesystem, the default is usually fine.no/pv.img
tmp-pv-loop-pathAbsolute file path for the LVM image created on the temp filesystem, the default is usually fine. Must reside on /mntno/mnt/tmp-pv.img
remove-dotnetRemoves .NET runtime and libraries. (frees ~17 GB)nofalse
remove-androidRemoves Android SDKs and Tools. (frees ~11 GB)nofalse
remove-haskellRemoves GHC (Haskell) artifacts. (frees ~2.7 GB)nofalse
remove-codeqlRemoves CodeQL Action Bundles. (frees ~5.4 GB)nofalse
remove-docker-imagesRemoves cached Docker images. (frees ~3 GB)nofalse

no outputs