1
0
mirror of synced 2025-12-23 11:54:18 -05:00

Apply suggestions from code review

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
Martin Lopes
2021-01-04 13:18:47 +10:00
committed by GitHub
parent 83e72a6819
commit 41fc08fc28

View File

@@ -301,11 +301,11 @@ steps:
`echo "{path}" >> $GITHUB_PATH`
Prepends a directory to the system `PATH` variable and makes it available to all subsequent actions in the current job; the currently running action cannot access the new path variable. To see the currently defined paths for your job, you can use `echo "$PATH"` in an action.
Prepends a directory to the system `PATH` variable and 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.
#### Example
This example demonstrates how to add the user home directory to `PATH`:
This example demonstrates how to add the user `$HOME/.local/bin` directory to `PATH`:
``` bash
echo "$HOME/.local/bin" >> $GITHUB_PATH