Skip to content

Commit 40f3f0a

Browse files
committed
Add Poetry to PATH for subsequent actions
1 parent 89b7f22 commit 40f3f0a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install latest version of Poetry
2121
run: |
2222
pipx install poetry
23-
dirname $(which poetry) >> $GITHUB_PATH
23+
echo "/root/.local/bin" >> $GITHUB_PATH
2424
echo "GITHUB_PATH:"
2525
cat $GITHUB_PATH
2626
- name: Set up Python

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install latest version of Poetry
1818
run: |
1919
pipx install poetry
20-
dirname $(which poetry) >> $GITHUB_PATH
20+
echo "/root/.local/bin" >> $GITHUB_PATH
2121
echo "GITHUB_PATH:"
2222
cat $GITHUB_PATH
2323
- name: Set up Python

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- name: Install latest version of Poetry
1717
run: |
1818
pipx install poetry
19+
echo "/root/.local/bin" >> $GITHUB_PATH
20+
echo "GITHUB_PATH:"
21+
cat $GITHUB_PATH
1922
- name: Set up Python ${{ matrix.python-version }}
2023
uses: actions/setup-python@v4
2124
with:

0 commit comments

Comments
 (0)