We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfae161 commit 1350b8bCopy full SHA for 1350b8b
twine-upload.sh
@@ -2,6 +2,13 @@
2
set -Eeuo pipefail
3
4
5
+# NOTE: These variables are needed to combat GitHub passing broken env vars
6
+# NOTE: from the runner VM host runtime.
7
+# Ref: https://github.com/pypa/gh-action-pypi-publish/issues/112
8
+export PATH="$(python -m site --user-base)/bin:${PATH}"
9
+export PYTHONPATH="$(python -m site --user-site):${PYTHONPATH}"
10
+
11
12
if [[
13
"$INPUT_USER" == "__token__" &&
14
! "$INPUT_PASSWORD" =~ ^pypi-
0 commit comments