From 7650023f28c94f5514adc6edf654812c123ee49c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:45:56 -0400 Subject: [PATCH] Remove errant blocks from Adding a system path (#33326) Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com> --- .../workflow-commands-for-github-actions.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/content/actions/using-workflows/workflow-commands-for-github-actions.md b/content/actions/using-workflows/workflow-commands-for-github-actions.md index a04b403f0d..029b192dca 100644 --- a/content/actions/using-workflows/workflow-commands-for-github-actions.md +++ b/content/actions/using-workflows/workflow-commands-for-github-actions.md @@ -1099,22 +1099,6 @@ Job summaries are isolated between steps and each step is restricted to a maximu Prepends a directory to the system `PATH` variable and automatically makes it available to all subsequent actions in the current job; the currently running action cannot access the updated path variable. To see the currently defined paths for your job, you can use `echo "$PATH"` in a step or an action. -{% bash %} - -```bash copy -echo "{path}" >> $GITHUB_PATH -``` - -{% endbash %} - -{% powershell %} - -```powershell copy -"{path}" | Out-File -FilePath $env:GITHUB_PATH -Append -``` - -{% endpowershell %} - ### Example of adding a system path {% bash %}