Skip to content

Commit f64594f

Browse files
authored
Merge pull request #86 from dimitribouniol/patch-2
Update README to reference the correct options
2 parents 4d48b4d + a1947f1 commit f64594f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
### Testing
4242
4343
To enable pull request testing for all supported Swift versions (5.8, 5.9, 5.10,
44-
6.0, and nightly) on Linux, add the following code example in
44+
6.0, and nightly) on Linux and Windows, add the following code example in
4545
`.github/workflows/pull_request.yml`:
4646

4747
```yaml
@@ -58,10 +58,11 @@ jobs:
5858
```
5959

6060
If your package only supports newer compiler versions, you can exclude older
61-
versions by using the `exclude_swift_versions` workflow input:
61+
versions by using the `*_exclude_swift_versions` workflow input:
6262

6363
```yaml
64-
exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
64+
linux_exclude_swift_versions: "[{\"swift_version\": \"5.8\"}, {\"swift_version\": \"5.9\"}]"
65+
windows_exclude_swift_versions: "[{\"swift_version\": \"5.9\"}]"
6566
```
6667

6768
Additionally, if your package requires additional installed packages, you can
@@ -72,7 +73,7 @@ use the `pre_build_command`. For example, to install a package called
7273
pre_build_command: "which example || (apt update -q && apt install -yq example"
7374
```
7475

75-
macOS and Windows platform support will be available soon.
76+
macOS platform support will be available soon.
7677

7778
## Running workflows locally
7879

0 commit comments

Comments
 (0)