mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-06 00:55:50 -05:00
Allow wildcards in INPUT_PACKAGES_DIR
This commit is contained in:
parent
00ef3b8182
commit
f4c7b2841d
1 changed files with 2 additions and 4 deletions
|
@ -18,10 +18,8 @@ then
|
||||||
copied your token properly if such an error occurs.
|
copied your token properly if such an error occurs.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[
|
if ( ! ls -A ${INPUT_PACKAGES_DIR%%/}/*.tar.gz &> /dev/null && \
|
||||||
! -d ${INPUT_PACKAGES_DIR%%/}/ ||
|
! ls -A ${INPUT_PACKAGES_DIR%%/}/*.whl &> /dev/null )
|
||||||
"`ls -l ${INPUT_PACKAGES_DIR%%/}/*.tar.gz ${INPUT_PACKAGES_DIR%%/}/*.whl`" == "total 0"
|
|
||||||
]]
|
|
||||||
then
|
then
|
||||||
echo \
|
echo \
|
||||||
::warning file='# >>' PyPA publish to PyPI GHA'%3A' \
|
::warning file='# >>' PyPA publish to PyPI GHA'%3A' \
|
||||||
|
|
Loading…
Reference in a new issue