mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-23 17:10:53 +00:00
Update install-nix.sh
Co-authored-by: Domen Kožar <domen@enlambda.com>
This commit is contained in:
parent
2cce1fd76b
commit
81eb746179
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ if [[ -n "${INPUT_NIX_PATH:-}" ]]; then
|
||||||
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set temporary directory (if not already set)
|
# Set temporary directory (if not already set) to fix https://github.com/cachix/install-nix-action/issues/197
|
||||||
if [[ -z "${TMPDIR:-}" ]]; then
|
if [[ -z "${TMPDIR:-}" ]]; then
|
||||||
echo "TMPDIR=${RUNNER_TEMP}" >> "$GITHUB_ENV"
|
echo "TMPDIR=${RUNNER_TEMP}" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue