added nix tore optimization step

This commit is contained in:
Aly Raffauf 2024-03-07 01:40:22 -05:00
parent 4c1d2e1fd1
commit 6779ebd0d0

View file

@ -44,8 +44,10 @@ jobs:
with:
script: nix build .#nixosConfigurations.${{ matrix.target }}.config.system.build.isoImage
- name: Delete nix store
run: sudo nix store gc && sudo nix store optimise
- name: Optimize nix store
uses: workflow/nix-shell-action@v3.2.1
with:
script: sudo nix store optimise
- name: Upload iso
uses: actions/upload-artifact@v3.1.2