Skip to content

Commit 80fc487

Browse files
smolvik1Copilot
andcommitted
add twine check and trigger on release publish
Co-authored-by: Copilot <copilot@github.com>
1 parent c5a1aea commit 80fc487

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy to PyPi
22
on:
33
release:
4-
types: [created]
4+
types: [published]
55
jobs:
66
upload:
77
environment:
@@ -24,6 +24,7 @@ jobs:
2424
- name: "Build distributions"
2525
run: |
2626
uv build
27+
uv tool run twine check dist/*
2728
2829
- name: "Publish package distributions to PyPI"
2930
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)