Skip to content

Commit dc45fe1

Browse files
committed
Use project Python to install Poetry
By default, pipx uses the runner's system Python installation to install Poetry. Although this works, it is best to use the controlled Python installation (installed via the `actions/setup-python` step) for all project operations.
1 parent add9812 commit dc45fe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ runs:
6565
shell: bash
6666
run: |
6767
pipx install \
68+
--python "$(which python)" \
6869
poetry==1.4.0
6970
7071
- name: Install Python Dependencies

0 commit comments

Comments
 (0)