use build
All checks were successful
books / flake8 (push) Successful in 34s
books / docker (push) Successful in 35s
books / pypi (push) Successful in 1m2s

This commit is contained in:
Michel Roux 2023-06-25 18:38:52 +02:00
parent 570d9da247
commit 8c4d133f9a

View File

@ -36,9 +36,14 @@ jobs:
pypi: pypi:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: python
needs: [lint] needs: [lint]
steps: steps:
- run: apt-get update
- run: apt-get install -y git nodejs
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: pip install build
- run: python -m build
- uses: https://github.com/pypa/gh-action-pypi-publish@release/v1 - uses: https://github.com/pypa/gh-action-pypi-publish@release/v1
with: with:
password: ${{ secrets.PYPI_API_TOKEN }} password: ${{ secrets.PYPI_API_TOKEN }}