Skip to content

Commit a9eb5e0

Browse files
ci: add debug steps and full checkout to release workflow
Signed-off-by: kmilo <kmilo.denis.glez@yandex.com>
1 parent edbf82c commit a9eb5e0

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,41 @@ jobs:
1313
contents: read
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
submodules: recursive
19+
- name: Debug: runner and repository state
20+
run: |
21+
echo "--- GitHub context ---"
22+
echo "GITHUB_REF=$GITHUB_REF"
23+
echo "GITHUB_SHA=$GITHUB_SHA"
24+
echo "GITHUB_EVENT_NAME=$GITHUB_EVENT_NAME"
25+
echo "GITHUB_RUN_ID=$GITHUB_RUN_ID"
26+
echo "GITHUB_WORKFLOW=$GITHUB_WORKFLOW"
27+
echo "--- Git info ---"
28+
git --no-pager log -1 --pretty=fuller || true
29+
echo "Current branch:"; git rev-parse --abbrev-ref HEAD || true
30+
echo "Tags pointing at HEAD:"; git tag --points-at HEAD || true
31+
echo "Describe:"; git describe --tags --exact-match 2>/dev/null || true
32+
echo "Git status:"; git status --porcelain || true
33+
echo "--- Files ---"
34+
ls -la || true
35+
ls -la src || true
36+
ls -la fabric_protos_python || true
37+
echo "--- Project files ---"
38+
test -f pyproject.toml && sed -n '1,200p' pyproject.toml || echo 'no pyproject'
39+
test -f setup.py && sed -n '1,200p' setup.py || echo 'no setup.py'
40+
echo "--- Python environment ---"
41+
which python || true
42+
python -V || true
43+
which pip || true
44+
pip -V || true
45+
pip list --format=columns || true
46+
echo "--- SYS.PATH ---"
47+
python - <<'PY'
48+
import sys
49+
print('\n'.join(sys.path))
50+
PY
1651
- name: Set up Python
1752
uses: actions/setup-python@v4
1853
with:

0 commit comments

Comments
 (0)