added gc and optimise step to save space

This commit is contained in:
Aly Raffauf 2024-03-06 20:18:26 -05:00
parent ea350003ac
commit 4c1d2e1fd1

View file

@ -45,7 +45,7 @@ jobs:
script: nix build .#nixosConfigurations.${{ matrix.target }}.config.system.build.isoImage script: nix build .#nixosConfigurations.${{ matrix.target }}.config.system.build.isoImage
- name: Delete nix store - name: Delete nix store
run: sudo rm -rf /nix run: sudo nix store gc && sudo nix store optimise
- name: Upload iso - name: Upload iso
uses: actions/upload-artifact@v3.1.2 uses: actions/upload-artifact@v3.1.2