from poetry to pip & venv

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2022-11-29 13:38:28 +01:00
parent dc09ce4044
commit 229ace99e1
No known key found for this signature in database

View File

@ -18,13 +18,13 @@ jobs:
with:
python-version: 3.9
- name: Setup poetry
uses: Gr1N/setup-poetry@v7
- name: Install dependencies
run: poetry install --with dev
run: pip install -e '.[dev]' && python setup.py bdist_wheel sdist
- name: Upload to TestPyPI
run: |
poetry build
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
twine check dist/*
twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}