mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-25 10:01:02 -05:00
Output warnings as GH Checks annotations
This commit is contained in:
parent
65c102608d
commit
328d2c65fa
1 changed files with 7 additions and 6 deletions
|
@ -7,8 +7,8 @@ if [[
|
||||||
! "$INPUT_PASSWORD" =~ ^pypi-
|
! "$INPUT_PASSWORD" =~ ^pypi-
|
||||||
]]
|
]]
|
||||||
then
|
then
|
||||||
>&2 echo \
|
echo \
|
||||||
[WARNING]: \
|
::warning file='# >>' PyPA publish to PyPI GHA'%3A' '<< ':: \
|
||||||
It looks like you are trying to use an API token to \
|
It looks like you are trying to use an API token to \
|
||||||
authenticate in the package index and your token value does \
|
authenticate in the package index and your token value does \
|
||||||
not start with '"pypi-"' as it typically should. This may \
|
not start with '"pypi-"' as it typically should. This may \
|
||||||
|
@ -21,11 +21,12 @@ if [[
|
||||||
"`ls -l ${INPUT_PACKAGES_DIR%%/}/*.tar.gz ${INPUT_PACKAGES_DIR%%/}/*.whl`" == "total 0"
|
"`ls -l ${INPUT_PACKAGES_DIR%%/}/*.tar.gz ${INPUT_PACKAGES_DIR%%/}/*.whl`" == "total 0"
|
||||||
]]
|
]]
|
||||||
then
|
then
|
||||||
>&2 echo \
|
echo \
|
||||||
[WARNING]: \
|
::warning file='# >>' PyPA publish to PyPI GHA'%3A' '<< ':: \
|
||||||
It looks like there are no Python distribution packages to \
|
It looks like there are no Python distribution packages to \
|
||||||
publish in the directory '"${INPUT_PACKAGES_DIR%%/}/"'. Please verify that they \
|
publish in the directory '"${INPUT_PACKAGES_DIR%%/}/"'. \
|
||||||
are in place should you face this problem.
|
Please verify that they are in place should you face this \
|
||||||
|
problem.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
|
if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
|
||||||
|
|
Loading…
Reference in a new issue