Skip to content

Commit 1776219

Browse files
committed
Debug container workspace paths and retry github.workspace
Add debugging step to show pwd vs GITHUB_WORKSPACE inside container. Retry using github.workspace - according to GitHub docs it should work correctly for container jobs as actions run in the container context with the workspace mounted. Note: This work was completed with AI assistance (Claude Code).
1 parent 2a67cea commit 1776219

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/wheels-docker.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -475,18 +475,22 @@ jobs:
475475
echo "==> Wheel inventory:"
476476
find wheelhouse/ -name "*.whl" -exec basename {} \; 2>/dev/null | sort || echo "No wheels found"
477477
478-
# For container jobs, we need to determine the workspace path at runtime.
479-
# The github.workspace context has the host path, not the container path.
480-
- name: Get container workspace path
481-
id: workspace
482-
run: echo "path=$(pwd)" >> $GITHUB_OUTPUT
478+
# Debug: Show workspace paths for container job troubleshooting
479+
- name: Debug workspace paths
480+
run: |
481+
echo "==> Workspace path debugging:"
482+
echo "pwd: $(pwd)"
483+
echo "GITHUB_WORKSPACE env: $GITHUB_WORKSPACE"
484+
echo "Checking wheelhouse:"
485+
ls -la wheelhouse/ | head -5
486+
echo "Full wheelhouse path: $(pwd)/wheelhouse"
483487
484488
- name:
485489
Upload wheels, source dist and build metadata with cryptographic verification
486490
uses: wamp-proto/wamp-cicd/actions/upload-artifact-verified@main
487491
with:
488492
name: artifacts-${{ matrix.target.name }}
489-
path: ${{ steps.workspace.outputs.path }}/wheelhouse/
493+
path: ${{ github.workspace }}/wheelhouse/
490494
retention-days: 30
491495

492496
# GitHub Releases, PyPI, and RTD publishing are now handled by the centralized 'release' workflow

0 commit comments

Comments
 (0)