Skip to content

Commit a82e526

Browse files
poetry: fix venv location (#23)
1 parent ccd8016 commit a82e526

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ runs:
8585
# Again, we're following snok/install-poetry's README.
8686
- name: Locate poetry venv
8787
id: poetry-venvs
88-
run: echo "dir=$(python -m poetry config virtualenvs.path)" >> "$GITHUB_OUTPUT"
88+
run: |
89+
echo "dir=$(python -m poetry env info -p || echo $(pwd)/.venv)" >> "$GITHUB_OUTPUT"
8990
shell: bash
9091
working-directory: ${{ inputs.working-directory }}
9192

0 commit comments

Comments
 (0)