Skip to content

Commit 3e3f823

Browse files
Pin to a supported winsdk (#180)
1 parent 5bae870 commit 3e3f823

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Setup Visual Studio Development Environment
2323
uses: compnerd/gha-setup-vsdevenv@f1ba60d553a3216ce1b89abe0201213536bc7557 # main as of 2024-11-12
24+
with:
25+
winsdk: "10.0.22621.0" # GitHub runners have 10.0.26100.0 which regresses Swift's ucrt module
2426

2527
- name: Install Swift
2628
uses: compnerd/gha-setup-swift@b6c5fc1ed5b5439ada8e7661985acb09ad8c3ba2 # main as of 2024-11-12
@@ -44,7 +46,9 @@ jobs:
4446
uses: actions/[email protected]
4547

4648
- name: Setup Visual Studio Development Environment
47-
uses: compnerd/gha-setup-vsdevenv@main
49+
uses: compnerd/gha-setup-vsdevenv@f1ba60d553a3216ce1b89abe0201213536bc7557 # main as of 2024-11-12
50+
with:
51+
winsdk: "10.0.22621.0" # GitHub runners have 10.0.26100.0 which regresses Swift's ucrt module
4852

4953
- name: Install Swift
5054
uses: compnerd/gha-setup-swift@b6c5fc1ed5b5439ada8e7661985acb09ad8c3ba2 # main as of 2024-11-12

0 commit comments

Comments
 (0)