diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e20e708..b4c095c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish ${package_name} to PyPI +name: Publish to PyPI 📦 on: push: @@ -20,9 +20,8 @@ jobs: - name: Build source and wheel distributions run: | - virtualenv /tmp/env - source /tmp/env/bin/activate - XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine check-manifest build + python -m venv /tmp/env + /tmp/env/bin/pip install -U pip wheel setuptools twine check-manifest build python -m build check-manifest . twine check --strict dist/*