From f593c24aa2d314a9d39830f021e3a04c33b8c684 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 7 Nov 2024 15:24:37 -0700 Subject: [PATCH] .github/nix-matrix-job: Maximize build space --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 477eeb9..6af53b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,6 +82,16 @@ jobs: strategy: matrix: ${{ fromJSON(needs.nix-matrix.outputs.matrix) }} steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + remove-dotnet: 'true' + build-mount-path: /nix + + - name: Set /nix permissions + run: | + sudo chown root:root /nix + - uses: actions/checkout@v4.1.7 - uses: DeterminateSystems/nix-installer-action@v14