diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index 69ba64cb9..01334acd4 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -111,26 +111,26 @@ jobs: name: sdist_files path: dist/*.tar.gz - # publish_wheels: - # permissions: - # id-token: write - # name: Publish wheels on pypi - # needs: [build_wheels, build_sdist] - # runs-on: ubuntu-latest - # if: startsWith(github.ref, 'refs/tags') - # steps: - # - uses: actions/download-artifact@v3 - # with: - # name: bdist_files - # path: dist - - # - uses: actions/download-artifact@v3 - # with: - # name: sdist_files - # path: dist - - # - name: Publish package to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # user: __token__ - # password: ${{ secrets.PYPI_API_TOKEN }} + publish_wheels: + permissions: + id-token: write + name: Publish wheels on pypi + needs: [build_wheels, build_sdist] + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags') + steps: + - uses: actions/download-artifact@v3 + with: + name: bdist_files + path: dist + + - uses: actions/download-artifact@v3 + with: + name: sdist_files + path: dist + + #- name: Publish package to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # user: __token__ + # password: ${{ secrets.PYPI_API_TOKEN }}