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]