revert cd changes (#2315)
This commit is contained in:
28
.github/workflows/cd.yml
vendored
28
.github/workflows/cd.yml
vendored
@@ -24,19 +24,23 @@ jobs:
|
|||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: make install
|
run: |
|
||||||
|
cd mem0
|
||||||
|
poetry install
|
||||||
|
|
||||||
- name: Clean previous builds
|
- name: Build a binary wheel and a source tarball
|
||||||
run: make clean
|
run: |
|
||||||
|
cd mem0
|
||||||
|
poetry build
|
||||||
|
|
||||||
- name: Build package
|
- name: Publish distribution 📦 to Test PyPI
|
||||||
run: make build
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
# - name: Publish distribution 📦 to Test PyPI
|
repository_url: https://test.pypi.org/legacy/
|
||||||
# uses: pypa/gh-action-pypi-publish@release/v1
|
packages_dir: mem0/dist/
|
||||||
# with:
|
|
||||||
# repository_url: https://test.pypi.org/legacy/
|
|
||||||
# packages_dir: dist/
|
|
||||||
|
|
||||||
- name: Publish distribution 📦 to PyPI
|
- name: Publish distribution 📦 to PyPI
|
||||||
run: make publish
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
packages_dir: mem0/dist/
|
||||||
Reference in New Issue
Block a user