Skip to content

Commit 20bff68

Browse files
committed
update release workflow
1 parent 8956441 commit 20bff68

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- run: pip install -e .[torch]
3131
- run: python -c "from transformers import pipeline; classifier = pipeline('text-classification'); assert classifier('What a nice release')[0]['score'] > 0"
3232

33+
- run: pip install twine
34+
- run: twine check --strict dist/*
35+
3336
- name: Upload build artifacts
3437
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3538
with:
@@ -57,4 +60,6 @@ jobs:
5760

5861
- name: Publish package distributions to TestPyPI
5962
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
63+
with:
64+
verbose: true
6065

0 commit comments

Comments
 (0)