diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml deleted file mode 100644 index 8adf1ce8..00000000 --- a/.github/workflows/pypi-publish.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Publish LightRAG to PyPI -on: - release: - types: [published] - -jobs: - build-and-publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: set up python - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install dependencies - run: - python -m pip install --upgrade pip - pip install build twine - - - name: Build package - run: python -m build - - - name: Publish distribution - env: - TWINE_USERNAME: __TOKEN__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: python -m twine upload dist/*