Skip to content

Commit a852cb9

Browse files
authored
Merge pull request #9 from dscho/improve-docs
Improve the documentation of the input parameters
2 parents 947ebc6 + 3a53040 commit a852cb9

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

README.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,19 @@ jobs:
1919
run: make
2020
```
2121
22-
## Available flavors
22+
## Input parameters
2323
24-
It supports several flavors:
24+
### Available flavors
25+
26+
This Action supports several flavors (read: subsets) of the Git for Windows SDK that can be configured like this:
27+
28+
```yaml
29+
- uses: git-for-windows/setup-git-for-windows-sdk
30+
with:
31+
flavor: build-installers
32+
```
33+
34+
The supported flavors are:
2535
2636
- `minimal`:
2737

@@ -39,9 +49,22 @@ It supports several flavors:
3949

4050
This is the "full" SDK, [as users would install it](https://gitforwindows.org/#download-sdk), with a pre-selected set of packages pre-installed. Additional packages can be installed via `pacman -S <package>`.
4151

42-
## CPU architecture support
52+
### CPU architecture support
53+
54+
Git for Windows SDK comes in variants targeting `x86_64` (AKA "64-bit") and `i686` (AKA 32-bit). The default is `x86_64` and can be overridden like this:
55+
56+
```yaml
57+
- uses: git-for-windows/setup-git-for-windows-sdk
58+
with:
59+
flavor: build-installers
60+
architecture: i686
61+
```
62+
63+
Please note that only the `build-installers` and the `full` flavors are available for `i686`.
64+
65+
### Verbosity
4366

44-
The Git for Windows SDK can be installed targeting `x86_64` (AKA "64-bit") and `i686` (AKA 32-bit).
67+
By default, this Action prints a line whenever 250 items were extracted (this does not work for the `full` flavor, where this Action is silent by default). It can be overridden by setting the input parameter `verbose`; setting it to a number will show updates whenever that many items were extracted. Setting it to `false` will suppress progress updates. Setting it to `true` will print every extracted file (this also works for the `full` flavor).
4568

4669
## Developing _this_ Action
4770

0 commit comments

Comments
 (0)