diff --git a/.gitea/workflows/pynyaata.yml b/.gitea/workflows/pynyaata.yml index 9bc8116..382e47c 100644 --- a/.gitea/workflows/pynyaata.yml +++ b/.gitea/workflows/pynyaata.yml @@ -43,8 +43,8 @@ jobs: - run: apt-get update - run: apt-get install -y git nodejs - uses: actions/checkout@v3 - - run: pip install wheel - - run: python setup.py sdist bdist_wheel - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} + - run: pip install twine + - run: python setup.py sdist + - run: twine upload -p ${PYPI_API_TOKEN} dist + env: + PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}