Skip to content

Commit af48d9c

Browse files
authored
Move twine check to dedicated step (#66)
1 parent 9f6497b commit af48d9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/publish/action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,18 @@ runs:
8484
PRODUCT_NAME: ${{ inputs.product_name }}
8585
DRY_RUN: ${{ inputs.dry_run }}
8686
FOLLOWING_VERSION: ${{ inputs.following_version }}
87+
- name: Check using twine
88+
# TODO: remove as part of #62.
89+
shell: bash
90+
run: pipx run twine check dist/*.*
8791
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
8892
- name: Publish distribution 📦 to PyPI
8993
if: inputs.dry_run == 'false'
9094
# Pinned due to https://github.com/pypa/gh-action-pypi-publish/issues/290
9195
uses: pypa/[email protected]
9296
with:
9397
repository-url: ${{ inputs.repository_url }}
98+
verify-metadata: false
9499
- name: Do Not Publish distribution 📦 to PyPI on Dry Run
95100
if: inputs.dry_run == 'true'
96101
shell: bash

0 commit comments

Comments
 (0)