File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
.github/actions/python-environment Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -21,26 +21,19 @@ runs:
2121
2222 using : " composite"
2323 steps :
24+ - name : Install pipx and poetry
25+ shell : bash
26+ run : |
27+ pip install pipx
28+ pipx install poetry=="${{ inputs.poetry-version }}"
29+ echo "$HOME/.local/bin" >> $GITHUB_PATH
2430
2531 - name : Setup Python (${{ inputs.python-version}})
2632 uses : actions/setup-python@v5
2733 with :
2834 python-version : ${{ inputs.python-version }}
2935 cache : ' poetry'
3036
31- - name : Setup up pipx if not present
32- shell : bash
33- run : |
34- python3 m pip install --upgrade pipx
35- pipx ensurepath
36- echo "$Home/.local/bin" >> $GITHUB_PATH
37-
38-
39- - name : Setup Poetry (${{ inputs.poetry-version }})
40- run : |
41- pipx install poetry==${{ inputs.poetry-version }}
42- shell : bash
43-
4437 - name : Poetry install with extras
4538 run : |
4639 EXTRAS=$(echo "${{ inputs.extras }}" | tr -d ' ')
You can’t perform that action at this time.
0 commit comments