mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 01:19:31 +00:00
Use unified Python setup steps for release workflow. (#9861)
Using the same Python setup GitHub Action step as the lint and test workflows.
This commit is contained in:
commit
4eeba88905
12
.github/workflows/_release.yml
vendored
12
.github/workflows/_release.yml
vendored
@ -31,13 +31,15 @@ jobs:
|
|||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install poetry
|
|
||||||
run: pipx install "poetry==$POETRY_VERSION"
|
- name: Set up Python + Poetry ${{ env.POETRY_VERSION }}
|
||||||
- name: Set up Python 3.10
|
uses: "./.github/actions/poetry_setup"
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
cache: "poetry"
|
poetry-version: ${{ env.POETRY_VERSION }}
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
cache-key: release
|
||||||
|
|
||||||
- name: Build project for distribution
|
- name: Build project for distribution
|
||||||
run: poetry build
|
run: poetry build
|
||||||
- name: Check Version
|
- name: Check Version
|
||||||
|
Loading…
Reference in New Issue
Block a user