Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

rename job release to publish_sdk (#21208)

maoyifeng8113fdbc2a4e
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 }}