Skip to content

Commit 6821584

Browse files
authored
Update action.yml
1 parent 30d01fd commit 6821584

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/actions/poetry_setup/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ 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+
7280
- name: Install poetry
7381
if: steps.cache-bin-poetry.outputs.cache-hit != 'true'
7482
shell: bash
@@ -90,4 +98,4 @@ runs:
9098
~/.cache/pypoetry/cache
9199
~/.cache/pypoetry/artifacts
92100
${{ env.WORKDIR }}/.venv
93-
key: py-deps-${{ runner.os }}-${{ runner.arch }}-py-${{ inputs.python-version }}-poetry-${{ inputs.poetry-version }}-${{ inputs.cache-key }}-${{ hashFiles(format('{0}/**/poetry.lock', env.WORKDIR)) }}
101+
key: py-deps-${{ runner.os }}-${{ runner.arch }}-py-${{ inputs.python-version }}-poetry-${{ inputs.poetry-version }}-${{ inputs.cache-key }}-${{ hashFiles(format('{0}/**/poetry.lock', env.WORKDIR)) }}

0 commit comments

Comments
 (0)