Skip to content

Commit

Permalink
ci(test): change to xargs
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Dec 22, 2023
1 parent aa20c30 commit e0a699f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
post: |
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan cache.tcp4.me >> ~/.ssh/known_hosts
TARGET="ssh-ng://[email protected]"
TARGET="ssh://[email protected]"
# 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

0 comments on commit e0a699f

Please sign in to comment.