From 8060a101dc2c14b38ac124b32a61b9119ba60e0c Mon Sep 17 00:00:00 2001 From: tmayoff-hh Date: Thu, 20 Mar 2025 09:55:11 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 123a16b..1a0d6f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 512 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-android: 'true' + - run: | + echo "Free space:" + df -h - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@v16 - uses: cachix/cachix-action@v16 @@ -18,5 +28,5 @@ jobs: name: tmayoff authToken: '${{ secrets.CACHIX_AUTH }}' - run: | - nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel + nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1