mirror of
https://github.com/hwchase17/langchain
synced 2024-11-16 06:13:16 +00:00
infra: explicitly specify py path (#15826)
This commit is contained in:
parent
79124fd71d
commit
6432494f9d
4
.github/actions/poetry_setup/action.yml
vendored
4
.github/actions/poetry_setup/action.yml
vendored
@ -28,6 +28,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
name: Setup python ${{ inputs.python-version }}
|
name: Setup python ${{ inputs.python-version }}
|
||||||
|
id: setup-python
|
||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
@ -74,7 +75,8 @@ runs:
|
|||||||
env:
|
env:
|
||||||
POETRY_VERSION: ${{ inputs.poetry-version }}
|
POETRY_VERSION: ${{ inputs.poetry-version }}
|
||||||
PYTHON_VERSION: ${{ inputs.python-version }}
|
PYTHON_VERSION: ${{ inputs.python-version }}
|
||||||
run: pipx install "poetry==$POETRY_VERSION" --python "python$PYTHON_VERSION" --verbose
|
# Install poetry using the python version installed by setup-python step.
|
||||||
|
run: pipx install "poetry==$POETRY_VERSION" --python '${{ steps.setup-python.outputs.python-path }}' --verbose
|
||||||
|
|
||||||
- name: Restore pip and poetry cached dependencies
|
- name: Restore pip and poetry cached dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user