Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

revert cd changes (#2315)

Dev Khantdd1f2989bc16
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 140fd11c8..b3477e0e7 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -24,19 +24,23 @@ jobs:
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
- run: make install
-
- - name: Clean previous builds
- run: make clean
+ run: |
+ cd mem0
+ poetry install
- - name: Build package
- run: make build
+ - name: Build a binary wheel and a source tarball
+ run: |
+ cd mem0
+ poetry build
- # - name: Publish distribution 📦 to Test PyPI
- # uses: pypa/gh-action-pypi-publish@release/v1
- # with:
- # repository_url: https://test.pypi.org/legacy/
- # packages_dir: dist/
+ - name: Publish distribution 📦 to Test PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ repository_url: https://test.pypi.org/legacy/
+ packages_dir: mem0/dist/
- name: Publish distribution 📦 to PyPI
- run: make publish
\ No newline at end of file
+ if: startsWith(github.ref, 'refs/tags')
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ packages_dir: mem0/dist/
\ No newline at end of file