From e56e8212f48a2dd7d76d426d4bcab2f5ce15277d Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 7 Dec 2022 00:07:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Make=20`id`=20always=20available?= =?UTF-8?q?=20in=20`twine-upload`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twine-upload.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/twine-upload.sh b/twine-upload.sh index 9dfe6e0..4205b21 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -6,6 +6,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 PATH="/usr/bin:${PATH}" # To find `id` . /etc/profile # Makes python and other executables findable export PATH="$(python -m site --user-base)/bin:${PATH}" export PYTHONPATH="$(python -m site --user-site):${PYTHONPATH}"