Skip to content

Commit 89824df

Browse files
changed github action python env
1 parent 6af42c2 commit 89824df

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/actions/python-environment/action.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,9 @@ runs:
3131
- name: Setup up pipx if not present
3232
shell: bash
3333
run: |
34-
if ! command -v pipx >/dev/null 2>&1; then
35-
echo "install pipx"
36-
python -m pip install --upgrade pip
37-
python -m pip install pipx
38-
pipx ensurepath
39-
echo "$Home/.local/bin" >> $GITHUB_PATH
40-
else
41-
echo "pipx is present"
42-
fi
34+
python3 m pip install --upgrade pipx
35+
pipx ensurepath
36+
echo "$Home/.local/bin" >> $GITHUB_PATH
4337
4438
4539
- name: Setup Poetry (${{ inputs.poetry-version }})

0 commit comments

Comments
 (0)