From f8de281e3b868a1cdc2ec85534228ecce45557e5 Mon Sep 17 00:00:00 2001 From: Sebastian Luna-Valero Date: Fri, 11 Oct 2024 00:31:06 +0200 Subject: [PATCH] Avoid linting issues with Super-Linter (#34646) Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com> --- .../workflow-commands-for-github-actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md b/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md index 3ad0a0f61292..8bdd35f4a27d 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md +++ b/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md @@ -965,7 +965,7 @@ Prepends a directory to the system `PATH` variable and automatically makes it av This example demonstrates how to add the user `$HOME/.local/bin` directory to `PATH`: ```bash copy -echo "$HOME/.local/bin" >> $GITHUB_PATH +echo "$HOME/.local/bin" >> "$GITHUB_PATH" ``` {% endbash %} @@ -975,7 +975,7 @@ echo "$HOME/.local/bin" >> $GITHUB_PATH This example demonstrates how to add the user `$env:HOMEPATH/.local/bin` directory to `PATH`: ```powershell copy -"$env:HOMEPATH/.local/bin" | Out-File -FilePath $env:GITHUB_PATH -Append +"$env:HOMEPATH/.local/bin" | Out-File -FilePath "$env:GITHUB_PATH" -Append ``` {% endpowershell %}