mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13: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:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue