Skip to content

Commit 29258d9

Browse files
committed
ci: create github release on tag
1 parent 39b8907 commit 29258d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ jobs:
2727
- run: just check-all
2828

2929
pypi-publish:
30+
if: github.ref_type == 'tag'
3031
runs-on: ubuntu-latest
3132
needs: tests
32-
if: "startsWith(github.ref, 'refs/tags/')"
3333
permissions:
3434
id-token: write
35+
contents: write
3536
environment: pypi
3637
steps:
3738
- uses: actions/checkout@v5
3839
- uses: astral-sh/setup-uv@v7
3940
- run: uv build
4041
- run: uv publish
42+
- uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)