Skip to content

Releases: jlumbroso/free-disk-space

v1.3.1

27 Oct 03:17
54081f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

29 Sep 04:56
Compare
Choose a tag to compare

What's Changed

  • Add Docker image removal option by @rake5k in #5
  • Allow fails in Remove large packages by @kfir4444 in #8
  • Fix for google-cloud-sdk renamed to google-cloud-cli by @andreped in #18
  • Fix errors related to executing dotnet by @ywt114 in #16
  • Fix large packages aspnetcore #9 by @hirnidrin in #11

New Contributors

Full Changelog: v1.2.0...v1.3.0

Fixed the `hhvm` missing dependency

08 Dec 20:52
76866db
Compare
Choose a tag to compare

Thanks to @gruve-p, This fixes issue #1, which failed because the hhvm package was removed from the distro.

Don't hesitate to open issues or submit pull requests!

New `tool-cache` option, v1.1.0

27 Jun 21:38
Compare
Choose a tag to compare

This version introduces the tool-cache option suggested by @miketimofeev, which removes the ~6GB tools cache (Node, Go, Python, Ruby, ...) that is preinstalled in GitHub Actions runners. This brings the total amount of space this extension can free to 31 GB.

Unlike the other options, since tool-cache can uninstall tools that are likely to be useful, it defaults to false, and must be explicitly set to true. In other words, this action:

name: Free Disk Space (Ubuntu)
on: push

jobs:
  free-disk-space:
    runs-on: ubuntu-latest
    steps:

    - name: Free Disk Space (Ubuntu)
      uses: jlumbroso/free-disk-space@main
      with:
        # this might remove tools that are actually needed,
        # when set to "true" but frees about 6 GB
        tool-cache: true
        
        # all of these default to true, but feel free to set to
        # "false" if necessary for your workflow
        android: true
        dotnet: true
        haskell: true
        large-packages: true
        swap-storage: true

is equivalent to this:

name: Free Disk Space (Ubuntu)
on: push

jobs:
  free-disk-space:
    runs-on: ubuntu-latest
    steps:

    - name: Free Disk Space (Ubuntu)
      uses: jlumbroso/free-disk-space@main
      with:
        # this might remove tools that are actually needed,
        # when set to "true" but frees about 6 GB
        tool-cache: true

Please don't hesitate to suggest/request additional options.

Initial release, v1.0.0

22 Jun 15:47
Compare
Choose a tag to compare

This is the initial release of the "Free Disk Space" GitHub Action.

In this first version, it can clear up to 25 GB on a GitHub Actions Ubuntu runner. We will try to expand on the options to allow for freeing more disk space, and eventually to handle other runners besides Ubuntu/Linux.

This is the typical configuration:

name: Free Disk Space (Ubuntu)
on: push

jobs:
  free-disk-space:
    runs-on: ubuntu-latest
    steps:

    - name: Free Disk Space (Ubuntu)
      uses: jlumbroso/free-disk-space@main
      with:
        # all of these default to true, but feel free to set to
        # false if necessary for your workflow
        android: true
        dotnet: true
        haskell: true
        large-packages: true
        swap-storage: true