diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 41dad2e..345ca77 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -27,11 +27,11 @@ jobs: - name: Build distribution run: python setup.py sdist bdist_wheel - #- name: Run examples - # run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \; - - #- name: Publish to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # password: ${{ secrets.PYPI_GLOBAL_UB }} - # repository-url: https://upload.pypi.org/legacy/ + - name: Run examples + run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \; + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_GLOBAL_UB }} + repository-url: https://upload.pypi.org/legacy/