mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
added nix tore optimization step
This commit is contained in:
parent
4c1d2e1fd1
commit
6779ebd0d0
6
.github/workflows/build-iso.yml
vendored
6
.github/workflows/build-iso.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue