Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pypa/gh-action-pypi-publish
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.3
Choose a base ref
...
head repository: pypa/gh-action-pypi-publish
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.4
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 7, 2022

  1. Verified

    This commit was signed with the committer’s verified signature.
    benjamn Ben Newman
    Copy the full SHA
    644926c View commit details
  2. 🐛 Override $HOME in the container with /root

    This is necessary to let `python -m site` locate the real install
    directories.
    This fixes #115 — the bug caused by GitHub passing the value of
    `$HOME` from the host system that does not match the container's
    expectations.
    webknjaz committed Dec 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c7f29f7 View commit details
Showing with 3 additions and 0 deletions.
  1. +2 −0 .github/workflows/self-smoke-test-action.yml
  2. +1 −0 twine-upload.sh
2 changes: 2 additions & 0 deletions .github/workflows/self-smoke-test-action.yml
Original file line number Diff line number Diff line change
@@ -85,6 +85,8 @@ jobs:
- name: ✅ Smoke-test the locally checked out action
uses: ./test
env:
DEBUG: >-
true
PATH: utter-nonsense
with:
user: ${{ env.devpi-username }}
1 change: 1 addition & 0 deletions twine-upload.sh
Original file line number Diff line number Diff line change
@@ -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}"