From 8113fdbc2a4e11ecf3d4a5f4f2b89880ba4e7d1a Mon Sep 17 00:00:00 2001 From: maoyifeng Date: Tue, 20 Oct 2026 14:15:16 +0800 Subject: [PATCH] rename job release to publish_sdk (#21208) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a179ae178..83d323392f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -244,10 +244,11 @@ jobs: # Publish the ragflow Python SDK to PyPI. Runs on a GitHub-hosted runner so # it no longer depends on the self-hosted release runner. Only stable v* tags - # (not nightly/prerelease) publish, per the `if` below. - release: + # (not nightly/prerelease) publish, gated by the `if` on this job. + publish_sdk: needs: - prepare + if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-24.04 steps: # https://github.com/actions/checkout/blob/v6/README.md @@ -261,7 +262,6 @@ jobs: uses: astral-sh/setup-uv@v5 - name: Build and push ragflow-sdk - if: startsWith(github.ref, 'refs/tags/v') run: | cd sdk/python && uv build && uv publish --token ${{ secrets.PYPI_API_TOKEN }}