Skip to content

Commit

Permalink
ci: fix build and pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzlerch committed Jul 30, 2023
1 parent 4522863 commit 0f2fde2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0f2fde2

Please sign in to comment.