Skip to content

Commit bdae3ef

Browse files
committed
add a twine check before uploading to pypi
1 parent 00b2491 commit bdae3ef

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/tpchgen-cli-publish-pypi.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,18 @@ jobs:
139139
attestations: write # Used to generate artifact attestation
140140
steps:
141141
- uses: actions/download-artifact@v4
142+
143+
- name: Install twine
144+
run: pip install twine
145+
146+
- name: Check distributions with twine
147+
run: twine check --strict wheels-*/*
148+
142149
- name: Generate artifact attestation
143150
uses: actions/attest-build-provenance@v2
144151
with:
145152
subject-path: 'wheels-*/*'
153+
146154
- name: Publish to PyPI
147155
uses: PyO3/maturin-action@v1
148156
with:

0 commit comments

Comments
 (0)