From 05a991f8edb7adce791763ef2a0a9bfb7aa95478 Mon Sep 17 00:00:00 2001 From: Marcus G K Williams <168222+mgkwill@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:05:49 -0700 Subject: [PATCH] Update action.yml --- action.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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