Skip to content

Commit a3bfe1b

Browse files
authored
setup-poetry: Log debug info on failure (#12)
* setup-poetry: Add debug logging * setup-poetry: Don't log env vars that GitHub already logs * setup-poetry: Disable condition for testing * Revert "setup-poetry: Disable condition for testing" This reverts commit 90f66be. * setup-poetry: Don't echo $PWD
1 parent 97860b5 commit a3bfe1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

setup-poetry/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,13 @@ runs:
6868
shell: bash
6969
- name: Print Poetry version
7070
run: poetry --version
71+
shell: bash
72+
- name: Log debug info
73+
if: failure()
74+
run: |
75+
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
76+
echo "PATH=$PATH"
77+
echo "RUNNER_TEMP=$RUNNER_TEMP"
78+
echo "RUNNER_TOOL_CACHE=$RUNNER_TOOL_CACHE"
79+
ls -al "$POETRY_BIN_DIR" "$POETRY_HOME" "$POETRY_HOME_BIN" || true
7180
shell: bash

0 commit comments

Comments
 (0)