mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 10:25:13 +00:00
Merge PR #33
This change implements running dists verification before performing actual upload. It is controlled by the input called `verify_metadata` which is on by default.
This commit is contained in:
@@ -28,6 +28,10 @@ then
|
||||
are in place should you face this problem.
|
||||
fi
|
||||
|
||||
if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
|
||||
twine check ${INPUT_PACKAGES_DIR%%/}/*
|
||||
fi
|
||||
|
||||
|
||||
TWINE_USERNAME="$INPUT_USER" \
|
||||
TWINE_PASSWORD="$INPUT_PASSWORD" \
|
||||
|
||||
Reference in New Issue
Block a user