Skip to content

Commit 4579668

Browse files
committed
Add -C parameter to poetry env --info command
1 parent 2648d0c commit 4579668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyze-project/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
version=$(echo "$result" | awk '{print $2}')
2828
echo "name=$name" >> $GITHUB_OUTPUT
2929
echo "version=$version" >> $GITHUB_OUTPUT
30-
project_path=$(poetry env info --path)
30+
project_path=$(poetry env info --path -C "${{ inputs.project-directory }}")
3131
echo "venv-path=$project_path" >> $GITHUB_OUTPUT
3232
shell: bash
3333
- name: Check for lock changes

0 commit comments

Comments
 (0)