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 04258cd commit 4a1abd5Copy full SHA for 4a1abd5
.github/workflows/test-release.yml
@@ -60,8 +60,15 @@ jobs:
60
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
61
run: |
62
echo "📦 Uploading to Test PyPI..."
63
- twine upload --repository testpypi dist/*
64
- echo "✅ Package uploaded to https://test.pypi.org/project/crawl4ai/"
+ twine upload --repository testpypi dist/* || {
+ if [ $? -eq 1 ]; then
65
+ echo "⚠️ Upload failed - likely version already exists on Test PyPI"
66
+ echo "Continuing anyway for test purposes..."
67
+ else
68
+ exit 1
69
+ fi
70
+ }
71
+ echo "✅ Test PyPI step complete"
72
73
- name: Set up Docker Buildx
74
uses: docker/setup-buildx-action@v3
0 commit comments