From 965ecc7c9f3962a74a67c87a0724fa88cc3f4c74 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Wed, 25 Dec 2024 16:28:43 +0100 Subject: [PATCH] Add workflow_dispatch --- .github/workflows/build.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c25b60..cadff74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: push: tags: - "*" + workflow_dispatch: env: CIBW_BUILD: "cp3?-manylinux_x86_64 cp3?-macosx_x86_64" @@ -78,18 +79,18 @@ jobs: with: path: ./wheelhouse/*.whl - upload_pypi: - needs: [build_wheels] - 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] + # 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 }} + # - uses: pypa/gh-action-pypi-publish@master + # with: + # user: __token__ + # password: ${{ secrets.pypi_password }}