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 379ba3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
nix-installer-tag: v0.10.0
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 +24,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 379ba3d

Please sign in to comment.