We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ef3b8 commit f4c7b28Copy full SHA for f4c7b28
twine-upload.sh
@@ -18,10 +18,8 @@ then
18
copied your token properly if such an error occurs.
19
fi
20
21
-if [[
22
- ! -d ${INPUT_PACKAGES_DIR%%/}/ ||
23
- "`ls -l ${INPUT_PACKAGES_DIR%%/}/*.tar.gz ${INPUT_PACKAGES_DIR%%/}/*.whl`" == "total 0"
24
- ]]
+if ( ! ls -A ${INPUT_PACKAGES_DIR%%/}/*.tar.gz &> /dev/null && \
+ ! ls -A ${INPUT_PACKAGES_DIR%%/}/*.whl &> /dev/null )
25
then
26
echo \
27
::warning file='# >>' PyPA publish to PyPI GHA'%3A' \
0 commit comments