From fb48f5eee4189a22a314920c3d41f12835171d5d Mon Sep 17 00:00:00 2001 From: David Johnson Date: Wed, 6 Oct 2021 13:09:07 -0500 Subject: [PATCH] Add -j1 to nix-build call. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9f76bac..8f7642d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: - name: Dependency install run: nix-build -A pkgs.yarn default.nix && nix-env -i ./result - name: Miso build - run: nix-build + run: nix-build -j1 - name: Diffing tests run: cd tests && yarn && yarn test @@ -41,9 +41,9 @@ jobs: name: miso-haskell signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - name: Miso build - run: nix-build + run: nix-build -j1 - name: Deploy - run: nix-build -A deploy && ./result + run: nix-build -A deploy -j1 && ./result env: AWS_SECRET_ACCESS_KEY: '${{ secrets.AWS_SECRET_ACCESS_KEY }}' AWS_ACCESS_KEY_ID: '${{ secrets.AWS_ACCESS_KEY_ID }}'