Skip to content
Evergreen Evergreen
Documentation

Deprecated GitHub Actions ::set-output command

Deprecated. The source gives no day. Replacement: $GITHUB_OUTPUT. Source: GitHub Actions: Deprecating save-state and set-output commands.

Check a version:

evergreen check pkg:generic/github-actions/set-output

GitHub deprecated the ::set-output workflow command. Append to the GITHUB_OUTPUT environment file instead.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem github-actions
Component pkg:generic/github-actions/set-output
Affected versions vers:semver/*
Date from the source The source gives no day
Replacement $GITHUB_OUTPUT
Evidence last seen 2026-11-05
Reviewed 2026-11-05 by arminazimi
Review due 2027-11-05 (365 days after the last review)
Rule ID github-actions.workflow-command.set-output

Sources

Migration

Constraints

  • Use environment files with a runner version supporting them. Multiline values require delimiter syntax.
  • Preserve the effective shell and quote expansion; never copy encoded command values directly.

Steps

  1. Append to GITHUB_OUTPUT. Replace literal single-line echo commands with the corresponding environment-file append to “$GITHUB_OUTPUT”. Migrate complex values manually.

Verification

  • git diff --check: Review the workflow patch before running it.

Detected by

The github-actions detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/github-actions.json, rule github-actions.workflow-command.set-output, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated