Skip to content

Commit

Permalink
馃悰 Make id always available in twine-upload
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 6, 2022
1 parent c879b84 commit e56e821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twine-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit e56e821

Please sign in to comment.