From 6aacbd5f22ee14e67d4043f6997d42c505ade473 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Thu, 26 Feb 2026 16:58:57 +0100 Subject: [PATCH] Try to fix PyPI release --- .github/workflows/release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a513c84..1d2a77e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,7 @@ jobs: python -m pip install --upgrade pip pip install build pip install -r requirements.txt + pip install wheel build twine - name: Build PyPI package run: | python3 -m build @@ -75,12 +76,8 @@ jobs: path: | dist/*.tar.gz - name: Upload to PyPI - #if: github.event_name != 'workflow_dispatch' - uses: pypa/gh-action-pypi-publish@release/v1 - with: - # user: __token__ - # password: ${{ secrets.PYPI_TOKEN }} - skip-existing: true + run: | + twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} --skip-existing build-windows: needs: [test]