Skip to content

Commit cb5af12

Browse files
author
Levent KARAGÖL
committed
Github Action .yml files have been updated
1 parent d3f4b78 commit cb5af12

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/windows-x86_64.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)