Update cd.yml

This commit is contained in:
Dev Khant
2025-03-06 00:19:12 +05:30
committed by GitHub
parent 4237b9220b
commit c7e2a71cd5

View File

@@ -33,14 +33,15 @@ jobs:
cd mem0 cd mem0
poetry build poetry build
- name: Publish distribution 📦 to Test PyPI # TODO: Needs to setup mem0 repo on Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1 # - name: Publish distribution 📦 to Test PyPI
with: # uses: pypa/gh-action-pypi-publish@release/v1
repository_url: https://test.pypi.org/legacy/ # with:
packages_dir: ./mem0/dist/ # repository_url: https://test.pypi.org/legacy/
# packages_dir: dist/
- name: Publish distribution 📦 to PyPI - name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:
packages_dir: ./mem0/dist/ packages_dir: dist/