You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

disk-clean.yml 1.2KB

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