From e0a699f104c08a893f54880a31937784325b6ed8 Mon Sep 17 00:00:00 2001 From: klarkc Date: Fri, 22 Dec 2023 02:12:38 -0300 Subject: [PATCH] ci(test): change to xargs --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e93dffa..94c6bf0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: post: | mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts ssh-keyscan cache.tcp4.me >> ~/.ssh/known_hosts - TARGET="ssh-ng://builder@cache.tcp4.me" + TARGET="ssh://builder@cache.tcp4.me" # took this filter list from cachix action - find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" -print -exec nix-copy-closure -k -s --to $TARGET {} \; + find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" | xargs -L 10 nix-copy-closure -k --use-substitutes --include-outputs --to $TARGET