code.gitea.io/gitea@v1.21.7/.github/workflows/disk-clean.yml (about)

     1  name: disk-clean
     2  
     3  on:
     4    workflow_call:
     5  
     6  jobs:
     7    triage:
     8      runs-on: ubuntu-latest
     9      steps:
    10        # FIXME: https://github.com/jlumbroso/free-disk-space/issues/17
    11        - name: same as 'large-packages' but without 'google-cloud-sdk'
    12          shell: bash
    13          run: |
    14            sudo apt-get remove -y '^dotnet-.*'
    15            sudo apt-get remove -y '^llvm-.*'
    16            sudo apt-get remove -y 'php.*'
    17            sudo apt-get remove -y '^mongodb-.*'
    18            sudo apt-get remove -y '^mysql-.*'
    19            sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
    20            sudo apt-get autoremove -y
    21            sudo apt-get clean
    22        - name: Free Disk Space (Ubuntu)
    23          uses: jlumbroso/free-disk-space@main
    24          with:
    25            # this might remove tools that are actually needed,
    26            # if set to "true" but frees about 6 GB
    27            tool-cache: false
    28  
    29            # all of these default to true, but feel free to set to
    30            # "false" if necessary for your workflow
    31            android: true
    32            dotnet: true
    33            haskell: true
    34            large-packages: false
    35            docker-images: false
    36            swap-storage: true