Prompt Buddy logoPrompt Buddy

github ยท GitHub Actions Docs

Workflows And Actions Workflow commands for GitHub Actions - GitHub Docs

A reference guide for specific string commands used to communicate with the GitHub Actions runner to set outputs, modify job summaries, manage environment variables, and control workflow execution flow.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workflows And Actions Workflow commands for GitHub Actions - GitHub Docs

A reference guide for specific string commands used to communicate with the GitHub Actions runner to set outputs, modify job summaries, manage environment variables, and control workflow execution flow.

When To Use

Use when you need to programmatically set environment variables, write to job summaries, or pass data between steps in a GitHub Actions workflow.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-workflows-and-workflow-commands-for-github-docs-workflow-guide.mdA reference guide detailing the syntax and usage of various workflow commands available for GitHub Actions shell commands.Questions about a reference guide detailing the syntax and usage of various workflow commands available for GitHub Actions shell comm...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w.textA collection of text-based examples demonstrating the syntax for various GitHub Actions workflow commands.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating the syntax for various GitHub Actions workflow commands.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-2.textA collection of text-based examples demonstrating the syntax for various GitHub Actions workflow commands.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating the syntax for various GitHub Actions workflow commands.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-3.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as core.error, core.set-output, and core.notice.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as core.error, core.s...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-4.textA collection of YAML workflow command examples including error, warning, and grouping annotations for GitHub Actions.Exact payloads, commands, or snippets shown in A collection of YAML workflow command examples including error, warning, and grouping annotations for GitHub Actions.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-5.textA collection of YAML workflow command examples including error, warning, and grouping annotations for GitHub Actions.Exact payloads, commands, or snippets shown in A collection of YAML workflow command examples including error, warning, and grouping annotations for GitHub Actions.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-6.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output, and error logging.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output,...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-7.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output, and error logging.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output,...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-8.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output, and error logging.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as debug, set-output,...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-9.textA collection of text-based examples demonstrating the syntax for GitHub Actions workflow commands including notice, warning, error, and grouping.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating the syntax for GitHub Actions workflow commands including notice, w...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-10.textAn example of using the workflow command syntax to output a notice message with file and line location details.Exact payloads, commands, or snippets shown in An example of using the workflow command syntax to output a notice message with file and line location details.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-11.textA text example demonstrating the syntax for the GitHub Actions workflow command to create a notice annotation.Exact payloads, commands, or snippets shown in A text example demonstrating the syntax for the GitHub Actions workflow command to create a notice annotation.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-12.textExamples of GitHub Actions workflow command syntax for issuing warnings, errors, and setting output variables.Exact payloads, commands, or snippets shown in Examples of GitHub Actions workflow command syntax for issuing warnings, errors, and setting output variables.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-13.textA collection of text-based examples demonstrating how to use GitHub Actions workflow commands such as warning, error, and grouping.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating how to use GitHub Actions workflow commands such as warning, error,...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-14.textA PowerShell command demonstrating how to use the ::warning workflow command to output a warning with specific file location metadata.Exact payloads, commands, or snippets shown in A PowerShell command demonstrating how to use the ::warning workflow command to output a warning with specific file l...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-15.textA collection of text-based examples demonstrating the syntax for GitHub Actions workflow commands such as error, warning, notice, and grouping.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating the syntax for GitHub Actions workflow commands such as error, warn...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-16.textAn example demonstrating the syntax for emitting a workflow command to create an error message in a GitHub Actions runner.Exact payloads, commands, or snippets shown in An example demonstrating the syntax for emitting a workflow command to create an error message in a GitHub Actions ru...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-17.textA PowerShell command demonstrating how to use the workflow command syntax to output a formatted error message with file and line metadata.Exact payloads, commands, or snippets shown in A PowerShell command demonstrating how to use the workflow command syntax to output a formatted error message with fi...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-18.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as grouping, setting environment variables, and masking secrets.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as grouping, setting...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-19.textA text example demonstrating how to use the ::group:: and ::endgroup:: workflow commands to create collapsible log sections in GitHub Actions.Exact payloads, commands, or snippets shown in A text example demonstrating how to use the ::group:: and ::endgroup:: workflow commands to create collapsible log se...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-20.textA PowerShell script demonstrating how to use workflow commands to create and end log groups in GitHub Actions.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to use workflow commands to create and end log groups in GitHub Actions.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-21.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as add-mask, set-output, and set-env.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as add-mask, set-outp...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-22.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as add-mask and set-output.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as add-mask and set-o...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-23.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting command outputs, masking secrets, and logging grouping.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting command ou...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-24.textA bash script example demonstrating the use of GitHub Actions workflow commands such as add-mask within a job step.Exact payloads, commands, or snippets shown in A bash script example demonstrating the use of GitHub Actions workflow commands such as add-mask within a job step.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-25.textA PowerShell workflow example demonstrating the use of GitHub Actions workflow commands such as add-mask.Exact payloads, commands, or snippets shown in A PowerShell workflow example demonstrating the use of GitHub Actions workflow commands such as add-mask.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-26.textA YAML workflow example demonstrating how to use the add-mask and set-output workflow commands to handle secrets.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use the add-mask and set-output workflow commands to handle secrets.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-27.textA PowerShell script demonstrating how to generate, mask, and output a secret using GitHub Actions workflow commands.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to generate, mask, and output a secret using GitHub Actions workflow commands.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-28.textA YAML workflow example demonstrating the use of GitHub Actions workflow commands to set outputs and environment variables.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating the use of GitHub Actions workflow commands to set outputs and environment vari...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-29.textA YAML workflow example demonstrating the use of GitHub Actions workflow commands such as add-mask and set-output.Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating the use of GitHub Actions workflow commands such as add-mask and set-output.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-30.textA text example demonstrating the syntax for the ::stop-commands:: workflow command in GitHub Actions.Exact payloads, commands, or snippets shown in A text example demonstrating the syntax for the ::stop-commands:: workflow command in GitHub Actions.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-31.textA collection of text-based workflow commands used to set environment variables, output parameters, and debug information in GitHub Actions.Exact payloads, commands, or snippets shown in A collection of text-based workflow commands used to set environment variables, output parameters, and debug informat...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-32.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as warning, error, and stop-commands.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as warning, error, an...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-33.textA PowerShell script demonstrating how to use workflow commands to issue warnings and stop command processing in a GitHub Actions job.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to use workflow commands to issue warnings and stop command processing in a Git...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-34.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environment variables, output parameters, and workflow commands.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environmen...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-35.textA collection of text-based examples demonstrating various GitHub Actions workflow commands for interacting with the runner environment.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands for interacting with the r...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-36.textA GitHub Actions workflow example demonstrating how to set and use environment variables using the GITHUB_ENV command.Exact payloads, commands, or snippets shown in A GitHub Actions workflow example demonstrating how to set and use environment variables using the GITHUBENV command.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-37.textA text example demonstrating how to use the GITHUB_ENV workflow command to set and access environment variables in a GitHub Actions workflow.Exact payloads, commands, or snippets shown in A text example demonstrating how to use the GITHUBENV workflow command to set and access environment variables in a G...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-38.textA collection of text-based examples demonstrating various GitHub Actions workflow commands and syntax.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands and syntax.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-39.textA PowerShell script example demonstrating the use of GitHub Actions workflow commands within a Windows runner.Exact payloads, commands, or snippets shown in A PowerShell script example demonstrating the use of GitHub Actions workflow commands within a Windows runner.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-40.textA text snippet demonstrating the syntax for setting environment variables using the GITHUB_ENV workflow command.Exact payloads, commands, or snippets shown in A text snippet demonstrating the syntax for setting environment variables using the GITHUBENV workflow command.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-41.textExamples of using workflow commands to set environment variables in GitHub Actions using shell syntax.Exact payloads, commands, or snippets shown in Examples of using workflow commands to set environment variables in GitHub Actions using shell syntax.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-42.textA reference list of GitHub Actions workflow commands for setting environment variables, output parameters, and workflow commands.Exact payloads, commands, or snippets shown in A reference list of GitHub Actions workflow commands for setting environment variables, output parameters, and workfl...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-43.textA text example demonstrating how to set and use environment variables in GitHub Actions using the GITHUB_ENV workflow command.Exact payloads, commands, or snippets shown in A text example demonstrating how to set and use environment variables in GitHub Actions using the GITHUBENV workflow...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-44.textA PowerShell script demonstrating how to set and use an environment variable using the GITHUB_ENV workflow command.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to set and use an environment variable using the GITHUBENV workflow command.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-45.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environment variables, outputs, and step summaries.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environmen...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-46.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environment variables and outputting multiline strings.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environmen...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-47.textA PowerShell script demonstrating how to use workflow commands to set a multi-line environment variable in GitHub Actions.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to use workflow commands to set a multi-line environment variable in GitHub Act...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-48.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting outputs and logging commands.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting outputs an...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-49.textA reference list of GitHub Actions workflow commands for setting environment variables, outputs, and logging information.Exact payloads, commands, or snippets shown in A reference list of GitHub Actions workflow commands for setting environment variables, outputs, and logging informat...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-50.textA text file demonstrating the usage of GitHub Actions workflow commands such as setting and retrieving step outputs.Exact payloads, commands, or snippets shown in A text file demonstrating the usage of GitHub Actions workflow commands such as setting and retrieving step outputs.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-51.textA PowerShell script demonstrating how to use GitHub Actions workflow commands to set and retrieve step outputs.Exact payloads, commands, or snippets shown in A PowerShell script demonstrating how to use GitHub Actions workflow commands to set and retrieve step outputs.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-52.textAn example demonstrating how to append markdown content to the GitHub Actions step summary using the GITHUB_STEP_SUMMARY environment file.Exact payloads, commands, or snippets shown in An example demonstrating how to append markdown content to the GitHub Actions step summary using the GITHUBSTEPSUMMAR...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-53.textAn example demonstrating how to write markdown content to the GitHub Actions step summary using the GITHUB_STEP_SUMMARY environment variable.Exact payloads, commands, or snippets shown in An example demonstrating how to write markdown content to the GitHub Actions step summary using the GITHUBSTEPSUMMARY...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-54.textAn example demonstrating how to append a markdown-formatted header to the GitHub Actions step summary using the GITHUB_STEP_SUMMARY environment variable.Exact payloads, commands, or snippets shown in An example demonstrating how to append a markdown-formatted header to the GitHub Actions step summary using the GITHU...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-55.textA text example demonstrating how to use the GITHUB_STEP_SUMMARY environment variable to write markdown to the job summary.Exact payloads, commands, or snippets shown in A text example demonstrating how to use the GITHUBSTEPSUMMARY environment variable to write markdown to the job summary.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-56.textA workflow step demonstrating how to use the GITHUB_STEP_SUMMARY environment variable to generate a Markdown list in the GitHub Actions job summary.Exact payloads, commands, or snippets shown in A workflow step demonstrating how to use the GITHUBSTEPSUMMARY environment variable to generate a Markdown list in th...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-57.textA workflow step demonstrating how to use the GITHUB_STEP_SUMMARY environment variable to append Markdown content to a job summary.Exact payloads, commands, or snippets shown in A workflow step demonstrating how to use the GITHUBSTEPSUMMARY environment variable to append Markdown content to a j...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-58.textA text example demonstrating how to use the GITHUB_STEP_SUMMARY environment variable to overwrite markdown content in a GitHub Actions workflow step.Exact payloads, commands, or snippets shown in A text example demonstrating how to use the GITHUBSTEPSUMMARY environment variable to overwrite markdown content in a...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-59.textA text example demonstrating how to use the GITHUB_STEP_SUMMARY environment variable to overwrite existing Markdown content in a GitHub Actions workflow step.Exact payloads, commands, or snippets shown in A text example demonstrating how to use the GITHUBSTEPSUMMARY environment variable to overwrite existing Markdown con...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-60.textA collection of workflow command examples for interacting with GitHub Actions step summaries and environment variables.Exact payloads, commands, or snippets shown in A collection of workflow command examples for interacting with GitHub Actions step summaries and environment variables.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-61.textA collection of workflow command examples for interacting with GitHub Actions step summaries and environment variables.Exact payloads, commands, or snippets shown in A collection of workflow command examples for interacting with GitHub Actions step summaries and environment variables.
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-62.textA collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environment variables and updating the system path.Exact payloads, commands, or snippets shown in A collection of text-based examples demonstrating various GitHub Actions workflow commands such as setting environmen...
examples/actions-workflows-and-workflow-commands-for-github-docs-github-actions-w-63.textA PowerShell command snippet demonstrating how to append a local bin directory to the GITHUB_PATH environment variable.Exact payloads, commands, or snippets shown in A PowerShell command snippet demonstrating how to append a local bin directory to the GITHUBPATH environment variable.

What This Skill Covers

    • GitHub Actions / - Reference / - Workflows and actions / - Workflow commands
  • Main sections: Tool navigation, In this article, About workflow commands, Example of a workflow command, Using workflow commands to access toolkit functions.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands