echo statements. These commands work in any workflow step, not just within the Actions Toolkit:
You can find a complete list of commands and parameters in the Workflow Commands for GitHub Actions documentation.

Demo Repository: ga-workflow-step-command-demo
In this demo, we use a repository namedga-workflow-step-command-demo (under the KodeKloud training org). It contains a single workflow, Exploring Workflow Commands, which runs on ubuntu-latest and triggers on push (main branch) or via workflow_dispatch. Each step illustrates a different command:
Workflow Commands at a Glance
Running the Workflow
Trigger the Exploring Workflow Commands workflow manually or push to themain branch. Since it doesn’t call external services, it completes in seconds. After a successful run, you’ll see annotations for warnings, errors, and notices:



Be cautious when masking secrets. Once added, they cannot be retrieved in plain text within the runner.