Skip to content

Commit

Permalink
ci(test): add from and flags
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Dec 22, 2023
1 parent 9a74365 commit bbb82ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: extra-experimental-features = nix-command flakes impure-derivations
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BUILDER_TOKEN }}
Expand All @@ -21,5 +23,5 @@ jobs:
ssh-keyscan cache.tcp4.me >> ~/.ssh/known_hosts
TARGET="ssh-ng://[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 --to $TARGET {} \;
find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" -print -exec nix copy --to $TARGET --from {} \;

0 comments on commit bbb82ae

Please sign in to comment.