File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
### Testing
42
42
43
43
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
45
45
` .github/workflows/pull_request.yml`:
46
46
47
47
` ` ` yaml
@@ -58,10 +58,11 @@ jobs:
58
58
` ` `
59
59
60
60
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 :
62
62
63
63
` ` ` 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\" }]"
65
66
` ` `
66
67
67
68
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
72
73
pre_build_command: "which example || (apt update -q && apt install -yq example"
73
74
` ` `
74
75
75
- macOS and Windows platform support will be available soon.
76
+ macOS platform support will be available soon.
76
77
77
78
# # Running workflows locally
78
79
You can’t perform that action at this time.
0 commit comments