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: with:
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: Optimize nix store
run: sudo nix store gc && sudo nix store optimise uses: workflow/nix-shell-action@v3.2.1
with:
script: sudo nix store optimise
- name: Upload iso - name: Upload iso
uses: actions/upload-artifact@v3.1.2 uses: actions/upload-artifact@v3.1.2