From ffa907bce53eee1618c69464a5cdd9aa874e8488 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 12 Aug 2024 02:46:43 +0400 Subject: [PATCH] try nix-fast-build --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ac1d5d4..34f123de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,8 @@ jobs: signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakopc build + # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakopc build + - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakopc.config.system.build.toplevel - run: nix-shell --run "echo All done!" sakotop: runs-on: ubuntu-latest @@ -35,7 +36,8 @@ jobs: signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakotop build + # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakotop build + - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakotop.config.system.build.toplevel - run: nix-shell --run "echo All done!" sakowsl: runs-on: ubuntu-latest @@ -52,5 +54,6 @@ jobs: signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' # If you chose API tokens for write access OR if you have a private cache authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakowsl build + # - run: nix run nixpkgs#nixos-rebuild -- --flake .#sakowsl build + - run: nix run github:Mic92/nix-fast-build -- --no-nom --skip-cached --flake .#nixosConfigurations.sakowsl.config.system.build.toplevel - run: nix-shell --run "echo All done!"