smallprogram/Maximize build disk space
Maximize the available disk space for your build job
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| root-reserve-mb | Space to be left free on the root filesystem, in Megabytes. | no | 1024 |
| temp-reserve-mb | Space to be left free on the temp filesystem (/mnt), in Megabytes. | no | 100 |
| swap-size-mb | Swap space to create, in Megabytes. | no | 4096 |
| overprovision-lvm | Create 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. | no | false |
| build-mount-path | Absolute path to the mount point where the build space will be available, defaults to $GITHUB_WORKSPACE if unset. | no | — |
| build-mount-path-ownership | Ownership of the mount point path, defaults to standard "runner" user and group. | no | runner:runner |
| pv-loop-path | Absolute file path for the LVM image created on the root filesystem, the default is usually fine. | no | /pv.img |
| tmp-pv-loop-path | Absolute file path for the LVM image created on the temp filesystem, the default is usually fine. Must reside on /mnt | no | /mnt/tmp-pv.img |
| remove-dotnet | Removes .NET runtime and libraries. (frees ~17 GB) | no | false |
| remove-android | Removes Android SDKs and Tools. (frees ~11 GB) | no | false |
| remove-haskell | Removes GHC (Haskell) artifacts. (frees ~2.7 GB) | no | false |
| remove-codeql | Removes CodeQL Action Bundles. (frees ~5.4 GB) | no | false |
| remove-docker-images | Removes cached Docker images. (frees ~3 GB) | no | false |
Outputs
no outputs