mirror of
https://github.com/nmattia/niv.git
synced 2024-11-07 22:36:53 +03:00
Make sure CACHIX_SIGNING_KEY is bound
This commit is contained in:
parent
2d1947ddaf
commit
98c74a8093
2
.github/actions/nix/install-nix
vendored
2
.github/actions/nix/install-nix
vendored
@ -68,7 +68,7 @@ save_cache() {
|
||||
export CACHIX_SIGNING_KEY="$INPUT_CACHIX_SIGNING_KEY"
|
||||
fi
|
||||
|
||||
if [ -n "$CACHIX_SIGNING_KEY" ];
|
||||
if [ -n "${CACHIX_SIGNING_KEY:-}" ];
|
||||
then
|
||||
echo "CACHIX_SIGNING_KEY is set, uploading cache"
|
||||
nix path-info --all | cachix push $cachix_cache
|
||||
|
Loading…
Reference in New Issue
Block a user