Skip to content

Commit 752d348

Browse files
committed
setup-poetry: Add debug logging
1 parent 97860b5 commit 752d348

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

setup-poetry/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ runs:
4242
Add-Content $env:GITHUB_ENV "POETRY_HOME_BIN=$HOME\.local\poetry\home\Scripts"
4343
Add-Content $env:GITHUB_PATH "$HOME\.local\poetry\bin"
4444
shell: pwsh
45+
- name: Log paths
46+
run: |
47+
echo "POETRY_BIN_DIR=$POETRY_BIN_DIR"
48+
echo "POETRY_HOME=$POETRY_HOME"
49+
echo "POETRY_HOME_BIN=$POETRY_HOME_BIN"
50+
echo "PATH=$PATH"
51+
shell: bash
4552
- name: Copy paths from $GITHUB_ENV to $GITHUB_OUTPUT
4653
id: copy-paths
4754
run: |
@@ -68,4 +75,8 @@ runs:
6875
shell: bash
6976
- name: Print Poetry version
7077
run: poetry --version
78+
shell: bash
79+
- name: Log directory contents for debugging
80+
if: failure()
81+
run: ls -al "$POETRY_BIN_DIR" "$POETRY_HOME" "$POETRY_HOME_BIN"
7182
shell: bash

0 commit comments

Comments
 (0)