Skip to content

Commit

Permalink
use pipx to isolate poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
NargiT committed May 11, 2023
1 parent 192395c commit c284078
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.yml
Expand Up @@ -12,11 +12,14 @@ inputs:
runs:
using: "composite"
steps:
- run: |
pip install --user pipx
pipx ensurepath
- if: ${{ inputs.poetry-version == 'latest' }}
run: |
pip install -U poetry
pipx install -U poetry
shell: bash
- if: ${{ inputs.poetry-version != 'latest' }}
run: |
pip install poetry==${{ inputs.poetry-version }}
pipx install poetry==${{ inputs.poetry-version }}
shell: bash

0 comments on commit c284078

Please sign in to comment.