diff --git a/.github/workflows/nuget-static-graphics.yml b/.github/workflows/nuget-static-graphics.yml index 325bbab..ede02ae 100644 --- a/.github/workflows/nuget-static-graphics.yml +++ b/.github/workflows/nuget-static-graphics.yml @@ -82,6 +82,7 @@ jobs: env: RID: ${{ matrix.rid }} TARGET_CPU: ${{ matrix.target_cpu }} + DEPOT_TOOLS_WIN_TOOLCHAIN: 0 run: .\scripts\build-windows-static-graphics.ps1 all - name: Upload Windows static archives diff --git a/scripts/build-windows-static-graphics.ps1 b/scripts/build-windows-static-graphics.ps1 index c80483a..1007ab1 100644 --- a/scripts/build-windows-static-graphics.ps1 +++ b/scripts/build-windows-static-graphics.ps1 @@ -16,6 +16,10 @@ $BuildJobs = if ($env:BUILD_JOBS) { $env:BUILD_JOBS } else { [Environment]::Proc $AnglePatchDir = if ($env:ANGLE_PATCH_DIR) { $env:ANGLE_PATCH_DIR } else { Join-Path $RootDir "External\NativeStatic\patches" } $SkiaDepsRetries = if ($env:SKIA_DEPS_RETRIES) { [int]$env:SKIA_DEPS_RETRIES } else { 3 } +if (-not $env:DEPOT_TOOLS_WIN_TOOLCHAIN) { + $env:DEPOT_TOOLS_WIN_TOOLCHAIN = "0" +} + function Require-Command($Name) { if (-not (Get-Command $Name -ErrorAction SilentlyContinue)) { throw "Missing required command: $Name"