diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 157bac491..3a7d21d7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,6 +84,20 @@ jobs: - { target: x86_64-unknown-linux-gnu , os: ubuntu-24.04 } # - { target: x86_64-unknown-linux-musl , os: ubuntu-20.04, use-cross: true } steps: + - name: Free Disk Space (Ubuntu) + if: runner.os == 'Linux' + # jlumbroso/free-disk-space@main is used in .github\workflows\flutter-build.yml + # But pinning to a specific version to avoid unexpected issues is preferred. + uses: jlumbroso/free-disk-space@v1.3.1 + with: + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: false + docker-images: true + swap-storage: false + - name: Export GitHub Actions cache environment variables uses: actions/github-script@v6 with: