Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgkwill authored Jul 25, 2024
1 parent 3faca83 commit 05a991f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05a991f

Please sign in to comment.