From f3b0765189b4d90f23f68272b44a91b3aaa8b4f3 Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Sat, 16 Dec 2023 01:09:27 +0100 Subject: [PATCH] fix building command --- .github/workflows/pypi-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 5551f53..813d1bb 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -20,10 +20,13 @@ jobs: - name: Install tools run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + python -m pip install --user poetry==1.7.1 + python -m pip install twine + # python -m pip install setuptools wheel twine + - name: Build and publish run: | - python setup.py sdist bdist_wheel + poetry build twine upload dist/* env: TWINE_USERNAME: ${{ secrets.PYPI_USERS }}