From c8c5b45665d5536faee894812920146f80035d3a Mon Sep 17 00:00:00 2001 From: Stepanov Igor Date: Sat, 21 Dec 2024 00:46:31 +0300 Subject: [PATCH] Try fix builds on agents --- .github/workflows/windows-clang.yml | 7 +++++-- .github/workflows/windows.yml | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-clang.yml b/.github/workflows/windows-clang.yml index 68ede0a9..d50f0daf 100644 --- a/.github/workflows/windows-clang.yml +++ b/.github/workflows/windows-clang.yml @@ -32,8 +32,11 @@ jobs: mingw-w64-clang-x86_64-ninja git - name: Bootstrap vcpkg - shell: msys2 - run: ${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat + shell: msys2 {0} + run: | + git clone https://github.com/microsoft/vcpkg.git + ${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat + ${{ github.workspace }}/vcpkg/vcpkg integrate install - name: Configure project with CMake and vcpkg shell: msys2 {0} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ca1f620d..c2101655 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,7 +23,9 @@ jobs: - name: Bootstrap vcpkg shell: pwsh - run: ${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat + run: | + git clone https://github.com/microsoft/vcpkg.git + ${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat - name: Configure and build project with CMake and vcpkg env: