From 0578ab077eb315f8fb467f5b92892a18c2500193 Mon Sep 17 00:00:00 2001 From: Dar Dahlen Date: Wed, 25 Sep 2024 14:41:09 -0700 Subject: [PATCH] Add pipy integration --- .github/workflows/release-wheels.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml index 17336ae..f9faa5d 100644 --- a/.github/workflows/release-wheels.yml +++ b/.github/workflows/release-wheels.yml @@ -67,3 +67,21 @@ jobs: with: name: wheel-cp${{ matrix.python }}-${{ matrix.platform_id }} path: ./wheelhouse/*.whl + publish-to-pypi: + name: Publish Python 🐍 distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + needs: + - build_wheels + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/kete + permissions: + id-token: write + - name: Download all the dists + uses: actions/download-artifact@v4 + with: + name: wheel-cp*.whl + path: wheelhouse/ + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@release/v1