Skip to content

Commit 7b6d33e

Browse files
authored
feat!: use pipx to isolate poetry (#63)
* use pipx to isolate poetry * Update action.yml * fix syntax error * trigger build * Update action.yml
1 parent c31426b commit 7b6d33e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ inputs:
1616
runs:
1717
using: "composite"
1818
steps:
19+
- run: |
20+
pip install --user pipx
21+
pipx ensurepath
22+
shell: bash
1923
- if: ${{ inputs.poetry-version == 'latest' }}
2024
run: |
21-
pip install -U poetry
25+
pipx install poetry
2226
shell: bash
2327
- if: ${{ inputs.poetry-version != 'latest' }}
2428
run: |
25-
pip install poetry==${{ inputs.poetry-version }}
29+
pipx install poetry==${{ inputs.poetry-version }}
2630
shell: bash
2731
- if: ${{ inputs.poetry-plugins != '' }}
2832
run: |

0 commit comments

Comments
 (0)