Skip to content

Commit fcf7f56

Browse files
committed
github: Try adding PIPX_BIN_DIR directly to the path
1 parent 5a37e4a commit fcf7f56

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/check_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
${{ env.PIPX_HOME }}
3030
${{ env.PIPX_BIN_DIR }}
3131
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
32-
- name: Add pipx to the path
33-
run: pipx ensurepath
32+
- name: Add PIPX_BIN_DIR to the path
33+
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
3434
- name: Set up Poetry
3535
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
3636
- name: Check for lock changes

.github/workflows/check_nitypes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
${{ env.PIPX_HOME }}
3030
${{ env.PIPX_BIN_DIR }}
3131
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
32-
- name: Add pipx to the path
33-
run: pipx ensurepath
32+
- name: Add PIPX_BIN_DIR to the path
33+
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
3434
- name: Set up Poetry
3535
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
3636
- name: Check for lock changes

.github/workflows/run_unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
${{ env.PIPX_HOME }}
3636
${{ env.PIPX_BIN_DIR }}
3737
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
38-
- name: Add pipx to the path
39-
run: pipx ensurepath
38+
- name: Add PIPX_BIN_DIR to the path
39+
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
4040
- name: Set up Poetry
4141
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
4242
- name: Cache virtualenv

0 commit comments

Comments
 (0)