Check that expected files exist after checkout or artifact download.

Section: Shell failures and common fixes

Verify workspace contents

bash
bash
find . -maxdepth 3 -type f | sort | head -200
Explanation

A quick workspace listing often reveals wrong paths or missing artifacts.

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 Shell failures and common fixes
Use strict Bash mode
Fail fast in shell scripts.
OpenIn sheetbashsame section
Inspect the raw event payload
Dump the event JSON file path or contents for debugging.
OpenIn sheetbashsame section
Pin actions to a major or full version
Avoid unexpected behavior from drifting dependencies.
OpenIn sheetyamlsame section
Retry a flaky network step in Bash
Wrap transient operations in a simple retry loop.
OpenIn sheetbashsame section
Create a collapsible log group
Group related output in the Actions log.
Emit a notice annotation
Add an informational annotation to the run log.