diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a499d45..e20e708 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,9 +20,13 @@ jobs: - name: Build source and wheel distributions run: | - python -m pip install --upgrade build twine + virtualenv /tmp/env + source /tmp/env/bin/activate + XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine check-manifest build python -m build + check-manifest . twine check --strict dist/* + - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@ae63f3323ae7b31c08f2805b18056cbf132ce478 with: