File tree 1 file changed +9
-4
lines changed
.github/actions/python-environment
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,24 @@ runs:
21
21
22
22
using : " composite"
23
23
steps :
24
- - name : Setup up pipx if not present
24
+ - name : Set up Python (${{ inputs.python-version}})
25
+ uses : actions/setup-python@v5
26
+ with :
27
+ python-version : ${{ inputs.python-version }}
28
+
29
+ - name : Set up pipx if not present
25
30
shell : bash
26
31
run : |
27
- python3 -m pip install --upgrade pipx
32
+ python${{ inputs.python-version }} -m pip install --upgrade pipx
28
33
pipx ensurepath
29
34
echo "$Home/.local/bin" >> $GITHUB_PATH
30
35
31
- - name : Setup Poetry (${{ inputs.poetry-version }})
36
+ - name : Set up Poetry (${{ inputs.poetry-version }})
32
37
shell : bash
33
38
run : |
34
39
pipx install poetry==${{ inputs.poetry-version }}
35
40
36
- - name : Setup Python (${{ inputs.python-version}})
41
+ - name : Set up Python (${{ inputs.python-version}})
37
42
uses : actions/setup-python@v5
38
43
with :
39
44
python-version : ${{ inputs.python-version }}
You can’t perform that action at this time.
0 commit comments