diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bc299a0..8c76f5b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -30,13 +30,13 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine ninja mypy pybind11 - # - name: Build and publish - # env: - # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - # run: | - # python setup.py bdist_wheel - # twine upload dist/* + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py bdist_wheel + twine upload dist/* publish-unix: runs-on: ubuntu-latest @@ -56,12 +56,12 @@ jobs: uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_x86_64 with: system-packages: 'ninja-build' - # - name: Publish manylinux - # env: - # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - # run: | - # twine upload dist/*-manylinux*.whl + - name: Publish manylinux + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + twine upload dist/*-manylinux*.whl publish-source: runs-on: ubuntu-latest @@ -79,11 +79,11 @@ jobs: sudo apt install ninja-build -y python -m pip install --upgrade pip pip install setuptools wheel twine mypy pybind11 - # - name: Build and publish - # env: - # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - # run: | - # python setup.py sdist - # twine upload dist/*.tar.gz + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist + twine upload dist/*.tar.gz \ No newline at end of file