Skip to content
Evergreen Evergreen
Documentation

Removed GitHub Actions ::add-path command

Removed as of 2020-11-16. Replacement: $GITHUB_PATH. Source: GitHub Actions: Removing set-env and add-path commands on November 16.

Check a version:

evergreen check pkg:generic/github-actions/add-path

GitHub removed the ::add-path workflow command. Append to the GITHUB_PATH environment file instead.

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

   
Status Removed
Severity high
Ecosystem github-actions
Component pkg:generic/github-actions/add-path
Affected versions vers:semver/*
Date from the source 2020-11-16
Replacement $GITHUB_PATH
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.add-path

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_PATH. Replace literal single-line echo commands with the corresponding environment-file append to “$GITHUB_PATH”. 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.add-path, 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