Skip to content

Commit 0a88184

Browse files
committed
github: Try $HOME instead of ~
1 parent 02cb1b4 commit 0a88184

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/check_docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
workflow_dispatch:
66

77
env:
8-
PIPX_BIN_DIR: ~/.local/bin
9-
PIPX_HOME: ~/.local/pipx
8+
PIPX_BIN_DIR: $HOME/.local/bin
9+
PIPX_HOME: $HOME/.local/pipx
1010
POETRY_VERSION: 1.8.2
1111
PYTHON_VERSION: 3.11.9
1212

@@ -31,7 +31,6 @@ jobs:
3131
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
3232
- name: Add PIPX_BIN_DIR to the path
3333
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
34-
shell: bash
3534
- name: Set up Poetry
3635
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
3736
- name: Check for lock changes

.github/workflows/check_nitypes.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
workflow_dispatch:
66

77
env:
8-
PIPX_BIN_DIR: ~/.local/bin
9-
PIPX_HOME: ~/.local/pipx
8+
PIPX_BIN_DIR: $HOME/.local/bin
9+
PIPX_HOME: $HOME/.local/pipx
1010
POETRY_VERSION: 1.8.2
1111
PYTHON_VERSION: 3.11.9
1212

@@ -31,7 +31,6 @@ jobs:
3131
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
3232
- name: Add PIPX_BIN_DIR to the path
3333
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
34-
shell: bash
3534
- name: Set up Poetry
3635
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
3736
- name: Check for lock changes

.github/workflows/run_unit_tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
workflow_dispatch:
66

77
env:
8-
PIPX_BIN_DIR: ~/.local/bin
9-
PIPX_HOME: ~/.local/pipx
8+
PIPX_BIN_DIR: $HOME/.local/bin
9+
PIPX_HOME: $HOME/.local/pipx
1010
POETRY_VERSION: 1.8.2
1111

1212
jobs:
@@ -37,7 +37,6 @@ jobs:
3737
key: pipx-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-poetry${{ env.POETRY_VERSION }}
3838
- name: Add PIPX_BIN_DIR to the path
3939
run: echo "${{ env.PIPX_BIN_DIR }}" >> "$GITHUB_PATH"
40-
shell: bash
4140
- name: Set up Poetry
4241
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
4342
- name: Cache virtualenv

0 commit comments

Comments
 (0)