From 0234c85be5062a81455a1f69a8c34ee5bdd8a47f Mon Sep 17 00:00:00 2001 From: Dev Khant Date: Wed, 5 Mar 2025 16:10:59 +0530 Subject: [PATCH] Fix CD (#2309) --- .github/workflows/cd.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a1844a4f..0e98fa85 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,23 +24,22 @@ jobs: echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install dependencies - run: | - cd embedchain - poetry install + run: make install - - name: Build a binary wheel and a source tarball - run: | - cd embedchain - poetry build + - name: Clean previous builds + run: make clean + + - name: Build package + run: make 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: embedchain/dist/ + packages_dir: dist/ - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: embedchain/dist/ \ No newline at end of file + packages_dir: dist/ \ No newline at end of file