diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 11:32:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-18 11:32:13 +0300 |
commit | 25f4108112470ffd3941f7abe39a30789d0060e2 (patch) | |
tree | 712640b4096bf5a30b77bff756dd612b1e514eb7 /README.md | |
parent | README: update (diff) | |
download | cleanup-path-25f4108112470ffd3941f7abe39a30789d0060e2.tar.gz cleanup-path-25f4108112470ffd3941f7abe39a30789d0060e2.zip |
README: update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,10 +3,13 @@ Clean up PATH [![Test](https://github.com/egor-tensin/cleanup-path/actions/workflows/test.yml/badge.svg)](https://github.com/egor-tensin/cleanup-path/actions/workflows/test.yml) +This GitHub action cleans up the PATH variable. + The PATH variable on Windows runners is a cesspool. For example, it includes seemingly dozens of MinGW distributions. This action takes a page out of MSYS2's book here, and cleans PATH so that only the default paths are included. + Use it in your workflow like this: - name: Clean up PATH @@ -22,10 +25,10 @@ API | Input | Value | Default | Description | ------- | ------- | ------- | ----------- -| dirs | *Empty* | ✓ | No additional paths. -| | *Other* | | Additional paths, separated by a semicolon (;). +| dirs | *empty* | ✓ | No additional paths. +| | *any* | | Additional paths, separated by a semicolon (;). | default | 1 | ✓ | Add the default directories under C:\Windows. -| | *Other* | | Don't add the default directories. +| | *any* | | Don't add the default directories. The action sets the PATH environment variable. |