Skip to content

Commit

Permalink
feat!: use pipx to isolate poetry (#63)
Browse files Browse the repository at this point in the history
* use pipx to isolate poetry

* Update action.yml

* fix syntax error

* trigger build

* Update action.yml
  • Loading branch information
NargiT authored Jan 12, 2024
1 parent c31426b commit 7b6d33e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ inputs:
runs:
using: "composite"
steps:
- run: |
pip install --user pipx
pipx ensurepath
shell: bash
- if: ${{ inputs.poetry-version == 'latest' }}
run: |
pip install -U poetry
pipx install poetry
shell: bash
- if: ${{ inputs.poetry-version != 'latest' }}
run: |
pip install poetry==${{ inputs.poetry-version }}
pipx install poetry==${{ inputs.poetry-version }}
shell: bash
- if: ${{ inputs.poetry-plugins != '' }}
run: |
Expand Down

0 comments on commit 7b6d33e

Please sign in to comment.