Skip to content

Commit 2833cdf

Browse files
authored
fix: 🐛 install uv in publish step and only for tags (#96)
# Description Forgot to setup uv. Also made it so it only runs on tags. No review needed.
1 parent 0fd4e66 commit 2833cdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@ jobs:
3030
name: pypi
3131
needs:
3232
- release-package
33+
if: github.ref_type == 'tag'
3334
steps:
3435
- name: Download built distributions
3536
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
3637
with:
3738
name: release-dists
3839
path: dist/
3940

41+
- name: Set up uv
42+
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
43+
4044
- name: Publish 📦 to PyPI
4145
# Only publish if the option is explicitly set in the calling workflow.
4246
run: uv publish --trusted-publishing always

0 commit comments

Comments
 (0)