Update build.yml

This commit is contained in:
0xd4d 2020-12-26 15:14:58 +01:00
parent 37fad7eb11
commit fcbd71a647
1 changed files with 6 additions and 8 deletions

View File

@ -435,14 +435,12 @@ jobs:
mv /tmp/py-dist-tmp/iced_x86-*-cp36-abi3*.whl /tmp/py-dist
mv /tmp/py-dist-tmp/iced-x86-*.tar.gz /tmp/py-dist
for file in /tmp/py-dist-tmp/*; do
if [ -f "$file" ]; then
ls -l /tmp/py-dist-tmp
echo "Unknown files found (see above)"
echo "If it's a new Python version, see Python version comment above (`build-rust-python`)"
exit 1
fi
done
if [ -n "$(ls -A /tmp/py-dist-tmp/* 2>/dev/null)" ]; then
ls -l /tmp/py-dist-tmp
echo "Unknown files found (see above)"
echo "If it's a new Python version, see Python version comment above (`build-rust-python`)"
exit 1
fi
rmdir /tmp/py-dist-tmp
# Windows x86 + x64, macOS x64, Linux (x86 + x64) * (manylinux1 + manylinux2010)