Merge pull request #199 from jalaziz/tempdir
fix: Set TMPDIR to avoid disk space issues
This commit is contained in:
commit
a56e3a8089
@ -91,5 +91,10 @@ 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) to fix https://github.com/cachix/install-nix-action/issues/197
|
||||||
|
if [[ -z "${TMPDIR:-}" ]]; then
|
||||||
|
echo "TMPDIR=${RUNNER_TEMP}" >> "$GITHUB_ENV"
|
||||||
|
fi
|
||||||
|
|
||||||
# Close the log message group which was opened above
|
# Close the log message group which was opened above
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
Loading…
Reference in New Issue
Block a user