Skip to content

Commit

Permalink
Update build_wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbolliet authored Sep 30, 2024
1 parent 12bd785 commit eba5bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,14 @@ jobs:
if [ "$(ls -A wheelhouse)" ]; then
echo "Uploading wheels..."
twine upload wheelhouse/*
twine upload wheelhouse/* || echo "WARNING: Failed to upload wheels, probably because they already exist. Continuing the job..."
else
echo "No wheels to upload."
fi

if [ -d "dist" ] && [ "$(ls -A dist)" ]; then
echo "Uploading source distribution to PyPI..."
twine upload dist/*.tar.gz || echo "Source distribution upload failed, probably cause it's already there continuing..."
twine upload dist/*.tar.gz || || echo "Source distribution upload failed, probably cause it's already there continuing..."
else
echo "No source distribution to upload."
fi
Expand Down

0 comments on commit eba5bee

Please sign in to comment.