diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index aa9803ad..343e112f 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -1,6 +1,6 @@ name: build_wheels -on: #[push, pull_request] +on: [push, pull_request] release: types: - created @@ -64,20 +64,20 @@ jobs: with: path: dist/*.tar.gz - upload_pypi: - needs: [build_wheels, build_sdist] - runs-on: ubuntu-latest - # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') - steps: - - uses: actions/download-artifact@v2 - with: - name: artifact - path: dist + # upload_pypi: + # needs: [build_wheels, build_sdist] + # runs-on: ubuntu-latest + # # upload to PyPI on every tag starting with 'v' + # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + # steps: + # - uses: actions/download-artifact@v2 + # with: + # name: artifact + # path: dist - - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} - # To test: - repository_url: https://test.pypi.org/legacy/ + # - uses: pypa/gh-action-pypi-publish@master + # with: + # user: __token__ + # password: ${{ secrets.pypi_password }} + # # To test: + # repository_url: https://test.pypi.org/legacy/