File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -69,22 +69,15 @@ runs:
6969 /opt/pipx/venvs/poetry/bin/python --version
7070 /opt/pipx_bin/poetry --version
7171
72- - name : Fix pip and upgrade pipx
73- if : steps.cache-bin-poetry.outputs.cache-hit != 'true'
74- shell : bash
75- run : |
76- python -m pip install --upgrade "pip<25"
77- python -m pip install --upgrade pipx
78- pipx --version
79-
80- - name : Install poetry
72+ - name : Install poetry via pip
8173 if : steps.cache-bin-poetry.outputs.cache-hit != 'true'
8274 shell : bash
8375 env :
8476 POETRY_VERSION : ${{ inputs.poetry-version }}
85- PYTHON_VERSION : ${{ inputs.python-version }}
86- # Install poetry using the python version installed by setup-python step.
87- run : pipx install "poetry==$POETRY_VERSION" --python '${{ steps.setup-python.outputs.python-path }}' --verbose
77+ run : |
78+ python -m pip install --upgrade pip
79+ python -m pip install "poetry==$POETRY_VERSION"
80+ poetry --version
8881
8982 - name : Restore pip and poetry cached dependencies
9083 uses : actions/cache@v4
Original file line number Diff line number Diff line change 1616 - ' action*'
1717
1818env :
19- POETRY_VERSION : " 1.4 .2"
19+ POETRY_VERSION : " 1.8 .2"
2020
2121jobs :
2222 build :
You can’t perform that action at this time.
0 commit comments