Skip to content

Commit 9c3d3f6

Browse files
committed
Try with setting up python first
1 parent b4da011 commit 9c3d3f6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/actions/python-environment/action.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,24 @@ runs:
2121

2222
using: "composite"
2323
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
2530
shell: bash
2631
run: |
27-
python3 -m pip install --upgrade pipx
32+
python${{ inputs.python-version }} -m pip install --upgrade pipx
2833
pipx ensurepath
2934
echo "$Home/.local/bin" >> $GITHUB_PATH
3035
31-
- name: Setup Poetry (${{ inputs.poetry-version }})
36+
- name: Set up Poetry (${{ inputs.poetry-version }})
3237
shell: bash
3338
run: |
3439
pipx install poetry==${{ inputs.poetry-version }}
3540
36-
- name: Setup Python (${{ inputs.python-version}})
41+
- name: Set up Python (${{ inputs.python-version}})
3742
uses: actions/setup-python@v5
3843
with:
3944
python-version: ${{ inputs.python-version }}

0 commit comments

Comments
 (0)