Skip to content

Commit

Permalink
create as many build users as cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jul 15, 2020
1 parent c8f2ba3 commit 0147beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
curl ${{matrix.nixTarball }} -o nix.tar.xz
mkdir -p /tmp/nix/
tar -xJf nix.tar.xz -C /tmp/nix
/tmp/nix/*/install --daemon --daemon-user-count 4 --nix-extra-conf-file /tmp/nix.conf --no-channel-add
/tmp/nix/*/install --daemon --daemon-user-count $(nproc) --nix-extra-conf-file /tmp/nix.conf --no-channel-add
echo "::add-path::/nix/var/nix/profiles/per-user/runner/profile/bin"
echo "::add-path::/nix/var/nix/profiles/default/bin"
- name: Setup cachix
Expand Down

0 comments on commit 0147beb

Please sign in to comment.