Skip to content

Commit 6af42c2

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,19 @@ runs:
3232
shell: bash
3333
run: |
3434
if ! command -v pipx >/dev/null 2>&1; then
35+
echo "install pipx"
3536
python -m pip install --upgrade pip
3637
python -m pip install pipx
38+
pipx ensurepath
39+
echo "$Home/.local/bin" >> $GITHUB_PATH
40+
else
41+
echo "pipx is present"
3742
fi
38-
pipx ensurepath
43+
3944
4045
- name: Setup Poetry (${{ inputs.poetry-version }})
4146
run: |
4247
pipx install poetry==${{ inputs.poetry-version }}
43-
echo "$Home/.local/bin" >> $GITHUB_PATH
4448
shell: bash
4549

4650
- name: Poetry install with extras

0 commit comments

Comments
 (0)