{"repo":"easimon/maximize-build-space","free":true,"listed":false,"github":"https://github.com/easimon/maximize-build-space","clone":"git clone https://github.com/easimon/maximize-build-space.git","description":"Github action to maximize the available disk space on Github runners","language":null,"stars":522,"topics":["github-actions","azure"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Maximize available disk space for build tasks By default, public shared Github runners come with around 25-29 GB of free disk space to be consumed by your build job. If this is too little for you, and your build job runs out of disk space, this action might be for you. If not: please go on, there's nothing to see here. This action maximizes the available disk space on public shared GitHub runners, by - Utilizing space on an otherwise unused temp disk - Optionally removing unnecessary preinstalled software - Optionally resizing the SWAP space Depending on the use case, you can gain more than double the original space. The idea came up when I tried to build a Fedora Linux Kernel RPM on Github, and the Job aborted due to disk space issues. Caveats - This action is a hack, really , and on a \"works for me\" basis. It has been built by reverse-enginnering undocumented parts of the Github runner setup, which might change in the future -- up to the point where this action ceases to work. For sure you're voiding the warranty on Github runners when using this. If you are not running into disk space issues with the default runner setup, don't use it. . - Since this action uses LVM on top of loop-mounted files, expect a space/speed trade-off when using it. I did not measure the speed of the disk, so I do not have numbers, but be warned. - This action fills the whole root and temp volume with large image files. You will not have more space on the root volume available than specified in roo","default_branch":null,"files":null,"tree":[],"storefront":"/r/easimon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/easimon/maximize-build-space/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}