From b183ea6dc0df00851de0d52de8b0140abc385c38 Mon Sep 17 00:00:00 2001 From: data-queue <144965964+data-queue@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:31:25 +0000 Subject: [PATCH] fix --- azure-pipelines/end-to-end-tests-dir/fetch.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines/end-to-end-tests-dir/fetch.ps1 b/azure-pipelines/end-to-end-tests-dir/fetch.ps1 index c4d4ce2244..1ed49fc174 100644 --- a/azure-pipelines/end-to-end-tests-dir/fetch.ps1 +++ b/azure-pipelines/end-to-end-tests-dir/fetch.ps1 @@ -10,6 +10,7 @@ if (-not $IsMacOS -and -not $IsLinux) { $ninja_version = "1.11.1" $env:VCPKG_DOWNLOADS = Join-Path $TestingRoot 'down loads' + $env:VCPKG_FORCE_DOWNLOADED_BINARIES = "1" Run-Vcpkg -TestArgs ($commonArgs + @("fetch", "7zip", "--vcpkg-root=$TestingRoot")) Throw-IfFailed Require-FileExists "$TestingRoot/down loads/tools/7zip-${7zip_version}-windows/7za.exe" @@ -21,6 +22,7 @@ if (-not $IsMacOS -and -not $IsLinux) { mkdir "$TestingRoot/down loads/tools/ninja-testing-${ninja_version}-windows" | Out-Null Move-Item -Path "$TestingRoot/down loads/tools/ninja-${ninja_version}-windows/ninja.exe" -Destination "$TestingRoot/down loads/tools/ninja-testing-${ninja_version}-windows/ninja.exe" $path = $env:PATH + Remove-Item env:VCPKG_FORCE_DOWNLOADED_BINARIES $env:PATH = "$path;$TestingRoot/down loads/tools/ninja-testing-${ninja_version}-windows" Run-Vcpkg -TestArgs ($commonArgs + @("fetch", "ninja", "--vcpkg-root=$TestingRoot"))