Skip to content

Commit

Permalink
first pass implementing gha publish refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
stat committed Nov 22, 2024
1 parent 8e2927f commit 1712801
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/publish_agentkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/publish_langchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/publish_twitter_langchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1712801

Please sign in to comment.