mirror of
https://github.com/nmattia/niv.git
synced 2024-09-19 11:27:40 +03:00
Don't push drv files to cachix
This commit is contained in:
parent
fad2a6cbfb
commit
6ae4c7700b
2
.github/actions/nix/install-nix
vendored
2
.github/actions/nix/install-nix
vendored
@ -66,7 +66,7 @@ save_cache() {
|
|||||||
if [ -n "${CACHIX_SIGNING_KEY:-}" ];
|
if [ -n "${CACHIX_SIGNING_KEY:-}" ];
|
||||||
then
|
then
|
||||||
echo "CACHIX_SIGNING_KEY is set, uploading cache"
|
echo "CACHIX_SIGNING_KEY is set, uploading cache"
|
||||||
nix path-info --all | cachix push $cachix_cache
|
nix path-info --all | grep -v '.*.drv$' | cachix push $cachix_cache
|
||||||
else
|
else
|
||||||
echo "CACHIX_SIGNING_KEY not set, not uploading cache"
|
echo "CACHIX_SIGNING_KEY not set, not uploading cache"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user