Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix ci (#363)

kkkwjx8344a25cf831
diff --git a/.github/workflows/_publish.yml b/.github/workflows/_publish.yml
index e56ca1b69..608792800 100644
--- a/.github/workflows/_publish.yml
+++ b/.github/workflows/_publish.yml
@@ -107,8 +107,8 @@ jobs:
run: |
# Get version from the first wheel file found
VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
- echo "Successfully published to TestPyPI with version: $VERSION"
- echo "::notice::Successfully published to TestPyPI with version: $VERSION"
+ echo "Published to TestPyPI (or already existed) with version: $VERSION"
+ echo "::notice::Published to TestPyPI (or already existed) with version: $VERSION"
publish-pypi:
name: Publish to PyPI
@@ -146,11 +146,12 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
+ skip-existing: true
verbose: true
- name: Display published version
run: |
# Get version from the first wheel file found
VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
- echo "Successfully published to PyPI with version: $VERSION"
- echo "::notice::Successfully published to PyPI with version: $VERSION"
+ echo "Published to PyPI (or already existed) with version: $VERSION"
+ echo "::notice::Published to PyPI (or already existed) with version: $VERSION"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9a78edf7f..c2179c03e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -118,8 +118,8 @@ jobs:
run: |
# Get version from the first wheel file found
VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
- echo "Successfully published to TestPyPI with version: $VERSION"
- echo "::notice::Successfully published to TestPyPI with version: $VERSION"
+ echo "Published to TestPyPI (or already existed) with version: $VERSION"
+ echo "::notice::Published to TestPyPI (or already existed) with version: $VERSION"
publish-pypi:
name: Publish to PyPI
@@ -145,14 +145,15 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
+ skip-existing: true
verbose: true
- name: Display published version
run: |
# Get version from the first wheel file found
VERSION=$(ls dist/*.whl | head -n 1 | xargs basename | cut -d- -f2)
- echo "Successfully published to PyPI with version: $VERSION"
- echo "::notice::Successfully published to PyPI with version: $VERSION"
+ echo "Published to PyPI (or already existed) with version: $VERSION"
+ echo "::notice::Published to PyPI (or already existed) with version: $VERSION"
docker:
name: Build and Push Docker Image