From 77a0f5d6f8c6a662dbbe7c382b1fdbb19f00f33c Mon Sep 17 00:00:00 2001 From: Thierry Moudiki Date: Fri, 9 Aug 2024 18:15:35 +0200 Subject: [PATCH] update workflow --- .github/workflows/python-publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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/