From 4c1d2e1fd110799912597f60f0c2f938f39a96d8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 6 Mar 2024 20:18:26 -0500 Subject: [PATCH] added gc and optimise step to save space --- .github/workflows/build-iso.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-iso.yml b/.github/workflows/build-iso.yml index 15e90b21..0a6518f9 100644 --- a/.github/workflows/build-iso.yml +++ b/.github/workflows/build-iso.yml @@ -45,7 +45,7 @@ jobs: script: nix build .#nixosConfigurations.${{ matrix.target }}.config.system.build.isoImage - name: Delete nix store - run: sudo rm -rf /nix + run: sudo nix store gc && sudo nix store optimise - name: Upload iso uses: actions/upload-artifact@v3.1.2