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.
OpenIn sheetyamlsame section
Label-based runner targeting
Match jobs to specialized self-hosted infrastructure.
OpenIn sheetyamlsame section
Target a self-hosted runner
Run on infrastructure you manage.
Run the job inside a container
Use a container image as the job runtime.