File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,18 @@ jobs:
2222
2323 - name : Install vcpkg
2424 run : |
25+ if (Test-Path "C:\vcpkg") {
26+ Remove-Item "C:\vcpkg" -Recurse -Force
27+ }
2528 git clone https://github.com/microsoft/vcpkg.git C:\vcpkg
26- .\ C:\vcpkg\bootstrap-vcpkg.bat
29+ & " C:\vcpkg\bootstrap-vcpkg.bat"
2730 echo "VCPKG_ROOT=C:\vcpkg" | Out-File -Append -Encoding ascii $env:GITHUB_ENV
2831
2932 - name : Integrate vcpkg and install dependencies
3033 run : |
3134 $env:VCPKG_ROOT = "C:\vcpkg"
32- .\C: \vcpkg\vcpkg integrate install
33- .\C: \vcpkg\vcpkg install --triplet x64-windows your-library-list
35+ & "$env:VCPKG_ROOT \vcpkg" integrate install
36+ & "$env:VCPKG_ROOT \vcpkg" install --triplet x64-windows your-library-list
3437
3538 - name : Prepare build environment
3639 run : |
You can’t perform that action at this time.
0 commit comments