From 20620b42b19f85dbcc0861b90a4efe1a890c355f Mon Sep 17 00:00:00 2001 From: teodanciu Date: Fri, 25 Aug 2023 11:29:22 +0100 Subject: [PATCH] Remove unused ubuntu packages to avoid running out of disk space when building nix derivations --- .github/workflows/haskell.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index c343990b060..3b14eea1595 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -46,6 +46,19 @@ jobs: os: [ubuntu-latest] steps: + + - run: | + sudo apt-get update + - name: Free disk space + uses: jlumbroso/free-disk-space@main + with: + android: true + dotnet: true + haskell: false + large-packages: false + docker-images: true + swap-storage: false + - uses: actions/checkout@v3 - name: Set NIGHTLY environment variable if the job was triggered by the scheduler if: ${{ github.event_name == 'schedule' }}