Skip to content

Commit

Permalink
ci: Use nix-fast-build
Browse files Browse the repository at this point in the history
Try to optimize the build by not downloading already built packages.
  • Loading branch information
juanibiapina committed Dec 30, 2024
1 parent 489e300 commit 22da1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
run: "nix flake update"

- name: "Build mini configuration"
run: "nix build .#nixosConfigurations.mini.config.system.build.toplevel"
run: "nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --max-jobs 1 --eval-workers 1 --flake .#nixosConfigurations.mini.config.system.build.toplevel --debug"

- name: "Build desktop configuration"
run: "nix build .#nixosConfigurations.desktop.config.system.build.toplevel"
run: "nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --max-jobs 1 --eval-workers 1 --flake .#nixosConfigurations.desktop.config.system.build.toplevel --debug"

- uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down

0 comments on commit 22da1ca

Please sign in to comment.