1
0
mirror of synced 2026-01-23 03:01:22 -05:00

Merge pull request #52635 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-10-10 20:40:40 -04:00
committed by GitHub

View File

@@ -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 %}