1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

Make sure CACHIX_SIGNING_KEY is bound

This commit is contained in:
Nicolas Mattia 2020-02-25 17:48:40 +01:00
parent 2d1947ddaf
commit 98c74a8093

View File

@ -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