From 7013fb7f0a36b726f832fe25d0880c6729eabfd9 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Mon, 30 Jun 2025 12:56:51 -0400 Subject: [PATCH] fix: :bug: install uv in publish step and only for tags --- .github/workflows/release-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index b6fd451..f98e893 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -30,6 +30,7 @@ jobs: name: pypi needs: - release-package + if: github.ref_type == 'tag' steps: - name: Download built distributions uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 @@ -37,6 +38,9 @@ jobs: name: release-dists path: dist/ + - name: Set up uv + uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1 + - name: Publish 📦 to PyPI # Only publish if the option is explicitly set in the calling workflow. run: uv publish --trusted-publishing always