Print the checkout path on the runner.
Section: Services and operational patterns
Inspect the workspace path
bash
bash
echo "$GITHUB_WORKSPACE"Explanation
Helpful when debugging path assumptions in containerized or self-hosted environments.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Services and operational patterns
Start a Redis service for tests
Use a service container for integration or cache tests.
Label-based runner targeting
Match jobs to specialized self-hosted infrastructure.