diff --git a/action.yml b/action.yml index 0afd3f6..ea076a5 100644 --- a/action.yml +++ b/action.yml @@ -33,12 +33,21 @@ runs: **/poetry.lock **/pyproject.toml - - name: Install Poetry w/ updated python version + - name: Install Poetry w/ updated python version (Linux) run: | python${{ inputs.python_ver }} -m pip install --user pipx python${{ inputs.python_ver }} -m pipx ensurepath python${{ inputs.python_ver }} -m pipx install poetry==${{ inputs.poetry_ver }} shell: bash + if: runner.os == 'Linux' + + - name: Install Poetry w/ updated python version (Windows) + run: | + python -m pip install --user pipx + python -m pipx ensurepath + python -m pipx install poetry==${{ inputs.poetry_ver }} + shell: bash + if: runner.os == 'Windows' - name: Load cached venv id: cached-poetry-dependencies