mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 09:51:54 -05:00
added gc and optimise step to save space
This commit is contained in:
parent
ea350003ac
commit
4c1d2e1fd1
2
.github/workflows/build-iso.yml
vendored
2
.github/workflows/build-iso.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue