mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 06:04:17 +00:00
Make sure cachix env variable is set before using
This commit is contained in:
parent
a57c617636
commit
8ca2512256
1 changed files with 1 additions and 1 deletions
2
.github/actions/nix/install-nix
vendored
2
.github/actions/nix/install-nix
vendored
|
@ -62,7 +62,7 @@ save_cache() {
|
|||
echo "Using cache '$cachix_cache' for '$GITHUB_REPOSITORY'"
|
||||
|
||||
set +x
|
||||
if [ -z "${CACHIX_SIGNING_KEY:-}" ] && [ -n "${INPUT_CACHIX_SIGNING_KEY:-}" ]; then
|
||||
if [ -z "${CACHIX_SIGNING_KEY:=}" ] && [ -n "${INPUT_CACHIX_SIGNING_KEY:-}" ]; then
|
||||
echo "CACHIX_SIGNING_KEY not set, but INPUT_CACHIX_SIGNING_KEY is present"
|
||||
echo "setting CACHIX_SIGNING_KEY"
|
||||
export CACHIX_SIGNING_KEY="$INPUT_CACHIX_SIGNING_KEY"
|
||||
|
|
Loading…
Reference in a new issue