From 829e3ccc2f284c3c8ce382133882030560d93f4d Mon Sep 17 00:00:00 2001 From: ilya <93557674+Disline1337@users.noreply.github.com> Date: Sun, 9 Apr 2023 18:40:56 +0500 Subject: [PATCH] work? --- .github/workflows/msbuild.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index fdf8659..b437d3f 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -37,11 +37,13 @@ jobs: working-directory: ${{env.GITHUB_WORKSPACE}} run: nuget restore ${{env.SOLUTION_FILE_PATH}} - - name: Install vcpkg - run: ../vcpkg/bootstrap-vcpkg.bat - - - name: Install dependencies - run: ../vcpkg/vcpkg install opencv:x64-windows-static + - name: vcpkg build + uses: johnwason/vcpkg-action@v4 + id: vcpkg + with: + pkgs: opencv + triplet: x64-windows-static + token: ${{ github.token }} - name: Build working-directory: ${{env.GITHUB_WORKSPACE}}