From 171280116b75ac60bfd4e2b97e0e4269e6baf8dc Mon Sep 17 00:00:00 2001 From: Christopher Gerber Date: Thu, 21 Nov 2024 16:07:58 -0800 Subject: [PATCH] first pass implementing gha publish refinements --- .github/workflows/publish_agentkit.yml | 10 +--------- .github/workflows/publish_langchain.yml | 10 +--------- .github/workflows/publish_twitter_langchain.yml | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/publish_agentkit.yml b/.github/workflows/publish_agentkit.yml index d3c67ef9..10b575da 100644 --- a/.github/workflows/publish_agentkit.yml +++ b/.github/workflows/publish_agentkit.yml @@ -31,16 +31,8 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v3 - with: - path: ./cdp-agentkit-core/.venv - key: venv-agentkit-${{ runner.os }}-3.10-${{ hashFiles('cdp-agentkit-core/poetry.lock') }} - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install + run: poetry install --only main - name: Build package run: poetry build diff --git a/.github/workflows/publish_langchain.yml b/.github/workflows/publish_langchain.yml index 8cb0e84e..5144993d 100644 --- a/.github/workflows/publish_langchain.yml +++ b/.github/workflows/publish_langchain.yml @@ -31,16 +31,8 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v3 - with: - path: ./cdp-langchain/.venv - key: venv-langchain-${{ runner.os }}-3.10-${{ hashFiles('cdp-langchain/poetry.lock') }} - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install + run: poetry install --only main - name: Build package run: poetry build diff --git a/.github/workflows/publish_twitter_langchain.yml b/.github/workflows/publish_twitter_langchain.yml index e0d538ae..b7aad11d 100644 --- a/.github/workflows/publish_twitter_langchain.yml +++ b/.github/workflows/publish_twitter_langchain.yml @@ -31,16 +31,8 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v3 - with: - path: ./twitter-langchain/.venv - key: venv-twitter-langchain-${{ runner.os }}-3.10-${{ hashFiles('twitter-langchain/poetry.lock') }} - - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install + run: poetry install --only main - name: Build package run: poetry build