diff --git a/twine-upload.sh b/twine-upload.sh index 98d1efe..74fe085 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -11,6 +11,7 @@ set -Eeuo pipefail # NOTE: These variables are needed to combat GitHub passing broken env vars # NOTE: from the runner VM host runtime. # Ref: https://github.com/pypa/gh-action-pypi-publish/issues/112 +export HOME="/root" # So that `python -m site` doesn't get confused export PATH="/usr/bin:${PATH}" # To find `id` . /etc/profile # Makes python and other executables findable export PATH="$(python -m site --user-base)/bin:${PATH}"