From 7b6d33e44b4f08d7021a1dee3c044e9c253d6439 Mon Sep 17 00:00:00 2001 From: NargiT <3153333+NargiT@users.noreply.github.com> Date: Fri, 12 Jan 2024 02:59:13 +0100 Subject: [PATCH] feat!: use pipx to isolate poetry (#63) * use pipx to isolate poetry * Update action.yml * fix syntax error * trigger build * Update action.yml --- action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 2d63212..b0c9ab0 100644 --- a/action.yml +++ b/action.yml @@ -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: |