mirror of
https://github.com/egor-tensin/cleanup-path.git
synced 2025-05-08 01:09:31 +03:00
README: update
This commit is contained in:
parent
4cda8dc37e
commit
af8ea5e974
1 changed files with 9 additions and 4 deletions
13
README.md
13
README.md
|
@ -12,15 +12,20 @@ Use it in your workflow like this:
|
||||||
- name: Clean up PATH
|
- name: Clean up PATH
|
||||||
uses: egor-tensin/cleanup-path@v2
|
uses: egor-tensin/cleanup-path@v2
|
||||||
|
|
||||||
|
* You can pass additional directory paths to add to PATH using the `dirs`
|
||||||
|
parameter.
|
||||||
|
* System directories under C:\Windows are added to PATH by default.
|
||||||
|
Disable this by setting the `default` parameter to `0`.
|
||||||
|
|
||||||
API
|
API
|
||||||
---
|
---
|
||||||
|
|
||||||
| Input | Value | Default | Description
|
| Input | Value | Default | Description
|
||||||
| ------- | ------- | ------- | -----------
|
| ------- | ------- | ------- | -----------
|
||||||
| dirs | *Empty* | Yes | No additional paths.
|
| dirs | *Empty* | ✓ | No additional paths.
|
||||||
| | *Other* | No | Additional paths, separated by a semicolon (;).
|
| | *Other* | | Additional paths, separated by a semicolon (;).
|
||||||
| default | 1 | Yes | Add the default directories under C:\Windows.
|
| default | 1 | ✓ | Add the default directories under C:\Windows.
|
||||||
| | *Other* | No | Don't add the default directories.
|
| | *Other* | | Don't add the default directories.
|
||||||
|
|
||||||
The action sets the PATH environment variable.
|
The action sets the PATH environment variable.
|
||||||
Note that even if you call it with `default: 0` and don't specify any `dirs`,
|
Note that even if you call it with `default: 0` and don't specify any `dirs`,
|
||||||
|
|
Loading…
Add table
Reference in a new issue