rename job release to publish_sdk (#21208)

This commit is contained in:
maoyifeng authored and GitHub committed 2026-10-20 14:15:16 +08:00
1 parent f700679928
commit 8113fdbc2a
1 file changed
+3 -3
+3 -3
View File
@@ -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 }}