Update Windows-CI.yml

This commit is contained in:
Mark Roszko 2024-07-24 16:56:48 +00:00
parent 433677fc21
commit 775c5b9f35

View File

@ -19,7 +19,7 @@ win64_build:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
when: never when: never
- if: $CI_PROJECT_ROOT_NAMESPACE == "kicad" && $CI_COMMIT_REF_PROTECTED == "true" - if: $CI_PROJECT_ROOT_NAMESPACE == "kicad"
script: script:
- C:\builder\build.ps1 -Env -Arch x64 - C:\builder\build.ps1 -Env -Arch x64
- $vcpkgCache=Join-Path -Path (Get-Location) -ChildPath ".vcpkgCache";$env:VCPKG_DEFAULT_BINARY_CACHE=$vcpkgCache;New-Item -ItemType Directory -Force -Path $vcpkgCache - $vcpkgCache=Join-Path -Path (Get-Location) -ChildPath ".vcpkgCache";$env:VCPKG_DEFAULT_BINARY_CACHE=$vcpkgCache;New-Item -ItemType Directory -Force -Path $vcpkgCache