Skip to content

Commit

Permalink
Merge pull request #24 from jburel/build
Browse files Browse the repository at this point in the history
Build
  • Loading branch information
sbesson authored Nov 21, 2024
2 parents 9efdc4f + 089821f commit 01fa0c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
python-version: '3.10'
- name: Build a binary wheel and a source tarball
run: |
python -mpip install wheel
python setup.py sdist bdist_wheel
python -mpip install build
python -m build
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.3.0
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
password: ${{ secrets.PYPI_PASSWORD }}
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ passenv =
PIP_CACHE_DIR
commands =
rst-lint README.rst
python setup.py install
pytest {posargs: -m "not broken" -rf test}

0 comments on commit 01fa0c5

Please sign in to comment.