File tree 1 file changed +4
-22
lines changed
1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change 9
9
name : windows
10
10
runs-on : windows-latest
11
11
steps :
12
- - uses : seanmiddleditch/gha-setup-vsdevenv@v3
13
-
14
- - name : Install Swift 5.4
15
- run : |
16
- Install-Binary -Url "https://swift.org/builds/swift-5.4.2-release/windows10/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
17
-
18
- - name : Set Environment Variables
19
- run : |
20
- echo "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
21
- echo "DEVELOPER_DIR=C:\Library\Developer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
22
-
23
- - name : Adjust Paths
24
- run : |
25
- echo "C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
26
- echo "C:\Library\Swift-development\bin;C:\Library\icu-67\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
27
-
28
- - name : Install Supporting Files
29
- run : |
30
- Copy-Item "$env:SDKROOT\usr\share\ucrt.modulemap" -destination "$env:UniversalCRTSdkDir\Include\$env:UCRTVersion\ucrt\module.modulemap"
31
- Copy-Item "$env:SDKROOT\usr\share\visualc.modulemap" -destination "$env:VCToolsInstallDir\include\module.modulemap"
32
- Copy-Item "$env:SDKROOT\usr\share\visualc.apinotes" -destination "$env:VCToolsInstallDir\include\visualc.apinotes"
33
- Copy-Item "$env:SDKROOT\usr\share\winsdk.modulemap" -destination "$env:UniversalCRTSdkDir\Include\$env:UCRTVersion\um\module.modulemap"
12
+ - uses : compnerd/gha-setup-swift@main
13
+ with :
14
+ branch : swift-5.4.3-release
15
+ tag : 5.4.3-RELEASE
34
16
35
17
- name : Swift version
36
18
run : swift --version
You can’t perform that action at this time.
0 commit comments