@@ -21,30 +21,35 @@ 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
- echo "$Home /.local/bin" >> $GITHUB_PATH
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 }}
40
45
cache : ' poetry'
41
46
42
- - name : Poetry install with extras
43
- shell : bash
44
- run : |
45
- EXTRAS=$(echo "${{ inputs.extras }}" | tr -d ' ')
46
- if [[ -n "$EXTRAS" ]]; then
47
- poetry install --extras "$EXTRAS"
48
- else
49
- poetry install
50
- fi
47
+ # - name: Poetry install with extras
48
+ # shell: bash
49
+ # run: |
50
+ # EXTRAS=$(echo "${{ inputs.extras }}" | tr -d ' ')
51
+ # if [[ -n "$EXTRAS" ]]; then
52
+ # poetry install --extras "$EXTRAS"
53
+ # else
54
+ # poetry install
55
+ # fi
0 commit comments