From bd7d5d949d6e87d1d920335bd3b07f03469863ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20van=20Velzen?= Date: Tue, 29 Oct 2024 21:57:02 +0100 Subject: [PATCH] Add upload to Pypi to publish.yaml --- .github/workflows/publish.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 08a9646..fc5af90 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -57,4 +57,12 @@ jobs: macos-wheel/*.whl windows-wheel/*.whl source-distribution/*.tar.gz + - name: Install Twine + run: | + pip install twine + - name: Upload to PyPI + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: python -m twine upload --repository pypi *-wheel/traceon-*.whl source-distribution/*.tar.gz