From 1ddeb8b405407c7f7cf356026e1f04385bb3e3ca Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 30 Jun 2023 22:01:00 +0200 Subject: [PATCH] Test Twine --- .gitea/workflows/pynyaata.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}