From 2cb95bab3ef3c96aaee98d1716124ce1240f645d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Weber?= Date: Sat, 26 Oct 2024 13:16:55 +0200 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 76fca2c..69806c5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install hatch hatchling toml + pip install hatch hatchling toml twine - name: Get history and tags for SCM versioning to work run: | git branch @@ -30,6 +30,8 @@ jobs: hatch version - name: Build run: hatch build + - name: Check the build + run: twine check dist/* - name: publish env: HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}