lucasilverentand/Free Disk Space
Free up disk space on GitHub-hosted Ubuntu runners by removing preinstalled toolchains and caches.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| android | Remove the Android SDK and NDK (~9 GB). | no | true |
| dotnet | Remove the .NET runtime and SDKs (~1.6 GB). | no | true |
| haskell | Remove GHC and Haskell tooling (~5.2 GB). | no | true |
| large-packages | Remove large apt packages (Azure CLI, Google Cloud SDK, PowerShell, Firefox, Chromium, MongoDB, MySQL, MS SQL tools). | no | true |
| docker-images | Prune all Docker images. | no | true |
| tool-cache | Remove the runner tool cache at $AGENT_TOOLSDIRECTORY (Python, Node, Go, Ruby preinstalls). Aggressive — only enable if you don't use setup-* actions that read from it. | no | false |
| swap-storage | Disable and remove the swap file (~4 GB). | no | true |
| verbose | Print disk usage before and after each step. | no | true |
Outputs
no outputs