fix(ci): update Ninja version command in CI and release workflows

- Modified the Ninja version command in both CI and release workflows to ensure the correct environment path is set before executing the version check.
- This change enhances the reliability of the Ninja installation process on Windows.

Benefits:
- Improves the setup process for Windows environments by ensuring accurate feedback on the Ninja installation, leading to more efficient builds.
This commit is contained in:
scawful
2025-10-15 09:13:20 -04:00
parent e992e70ad9
commit e071914e83
4 changed files with 6 additions and 11 deletions

View File

@@ -84,7 +84,8 @@ jobs:
}
Write-Host "Ninja installed at $ninjaExe"
"$ninjaDir" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
ninja --version
$env:PATH = "$ninjaDir;$env:PATH"
& $ninjaExe --version
- name: Set up vcpkg (Windows)
if: runner.os == 'Windows'

View File

@@ -158,7 +158,8 @@ jobs:
}
Write-Host "Ninja installed at $ninjaExe"
"$ninjaDir" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
ninja --version
$env:PATH = "$ninjaDir;$env:PATH"
& $ninjaExe --version
- name: "Set up vcpkg (Windows only)"
if: runner.os == 'Windows'

View File

@@ -74,7 +74,7 @@ set(gRPC_BUILD_GRPC_PYTHON_PLUGIN OFF CACHE BOOL "" FORCE)
set(gRPC_BUILD_GRPC_RUBY_PLUGIN OFF CACHE BOOL "" FORCE)
set(gRPC_BENCHMARK_PROVIDER "none" CACHE STRING "" FORCE)
set(gRPC_ZLIB_PROVIDER "package" CACHE STRING "" FORCE)
set(gRPC_ZLIB_PROVIDER "module" CACHE STRING "" FORCE)
# Skip install rule generation inside gRPC's dependency graph. This avoids
# configure-time checks that require every transitive dependency (like Abseil

View File

@@ -5,13 +5,6 @@
"description": "Yet Another Zelda3 Editor",
"builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
"dependencies": [
{
"name": "yaml-cpp",
"platform": "windows"
},
{
"name": "zlib",
"platform": "windows"
}
]
}