mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-10 21:32:43 +08:00
rename job release to publish_sdk (#21208)
This commit is contained in:
1 parent
f700679928
commit
8113fdbc2a
1 file changed
+3
-3
@@ -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 }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user