Skip to content

Commit 90ca655

Browse files
committed
💚 Fix publish workflow
By running on release "published". Also, the tag name of the release is checked out.
1 parent ffdf212 commit 90ca655

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎.github/workflows/publish.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
release:
55
types:
6-
- created
6+
- published
77

88
jobs:
99
pypi-publish:
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout current branch
2020
uses: actions/checkout@v4
21+
with:
22+
ref: ${{ github.event.release.tag_name }}
2123

2224
- name: Install uv
2325
uses: astral-sh/setup-uv@v3

0 commit comments

Comments
 (0)