Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

ci(rapidocr_web): Fix setup error when auto publish whl

SWHL582766879212
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_web.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_web.yml
index 97c7fdc..d3ca706 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_web.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_web.yml
@@ -38,14 +38,7 @@ jobs:
pip install -r requirements.txt
python -m pip install --upgrade pip
- python setup.py bdist_wheel ${{ github.event.head_commit.message }}
-
- # - name: Publish distribution πŸ“¦ to Test PyPI
- # uses: pypa/[email protected]
- # with:
- # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
- # repository_url: https://test.pypi.org/legacy/
- # packages_dir: ocrweb/dist/
+ python setup.py bdist_wheel "${{ github.event.head_commit.message }}"
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/[email protected]