Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Latest commit

 

History

History
 
 

disk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Runner Cleanup action

Modified version of this composite action

The main changes between the linked repo and this action is that this action does not create a logical volume or resize the swap space. Additionally, all package/image removal is by default set to true so it can be used very simply. Before running this action, a runner will have ~18GB of free disk. Afterwards, there will be ~48GB free.

Documentation

Inputs

Input Description Required Default
remove-dotnet Removes .NET runtime and libraries. (frees ~17 GB) false true
remove-android Removes Android SDKs and Tools. (frees ~11 GB) false true
remove-haskell Removes GHC (Haskell) artifacts. (frees ~2.7 GB) false true
remove-codeql Removes CodeQL Action Bundles. (frees ~5.4 GB) false true
remove-docker-images Removes cached Docker images. (frees ~3 GB) false true

Usage

name: Action
on: push
jobs:
  build:
    name: Job
    runs-on: ubuntu-latest
    steps:
      - name: Cleanup Runner
        id: runner_cleanup
        uses: stacks-network/actions/cleanup/disk/disk@main