From dfcf0122d867c4572655e71acbfd82f3ed8da59c Mon Sep 17 00:00:00 2001 From: drew Date: Mon, 11 Nov 2024 13:49:34 -0600 Subject: [PATCH] Updated pypi-publish.yml such that now it really publishes --- .github/workflows/pypi-publish.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 06d56b6..a8d4c8a 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -1,11 +1,8 @@ name: Package to PyPi -#on: -# release: -# types: [published] - - -on: workflow_dispatch +on: + release: + types: [published] env: WHL_HOUSE: wheelhouse @@ -89,8 +86,8 @@ jobs: - name: Display all artifacts run: ls -R working-directory: ${{ env.WHL_HOUSE }} - #- name: Publish package to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # packages-dir: ${{ env.WHL_HOUSE }}/ - # verbose: true + - name: Publish package to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: ${{ env.WHL_HOUSE }}/ + verbose: true