Skip to content

Commit a5bcdbd

Browse files
committed
Add twine check to release publication
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent b7194c8 commit a5bcdbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pypi-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ jobs:
3030
with:
3131
python-version: 3.12
3232

33-
- name: Install pypa/build
34-
run: python -m pip install build --user
33+
- name: Install pypa/build and twine
34+
run: python -m pip install --user build twine
3535

3636
- name: Build a binary wheel and a source tarball
3737
run: python -m build --sdist --wheel --outdir dist/
3838

39+
- name: Validate wheel and sdis for Pypi
40+
run: python -m twine check dist/*
41+
3942
- name: Upload built archives
4043
uses: actions/upload-artifact@v4
4144
with:

0 commit comments

Comments
 (0)