diff --git a/.github/workflows/release-complex.yml b/.github/workflows/release-complex.yml index c05e2004..6cfaa697 100644 --- a/.github/workflows/release-complex.yml +++ b/.github/workflows/release-complex.yml @@ -391,7 +391,7 @@ jobs: Write-Host "Configuring CMake for Windows build..." # Check if vcpkg is available - if (Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -and $env:VCPKG_AVAILABLE -ne "false") { + if ((Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake") -and ($env:VCPKG_AVAILABLE -ne "false")) { Write-Host "Using vcpkg toolchain..." cmake -B build ` -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} ` diff --git a/.github/workflows/release-simplified.yml b/.github/workflows/release-simplified.yml index 8e6c4161..3c2509e3 100644 --- a/.github/workflows/release-simplified.yml +++ b/.github/workflows/release-simplified.yml @@ -223,7 +223,7 @@ jobs: Write-Host "Configuring CMake for Windows build..." # Check if vcpkg is available - if (Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -and $env:VCPKG_AVAILABLE -ne "false") { + if ((Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake") -and ($env:VCPKG_AVAILABLE -ne "false")) { Write-Host "Using vcpkg toolchain..." cmake -B build ` -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} ` diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a8fc157..edc33973 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -223,7 +223,7 @@ jobs: Write-Host "Configuring CMake for Windows build..." # Check if vcpkg is available - if (Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -and $env:VCPKG_AVAILABLE -ne "false") { + if ((Test-Path "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake") -and ($env:VCPKG_AVAILABLE -ne "false")) { Write-Host "Using vcpkg toolchain..." cmake -B build ` -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} `