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:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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'
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,13 +5,6 @@
|
||||
"description": "Yet Another Zelda3 Editor",
|
||||
"builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "yaml-cpp",
|
||||
"platform": "windows"
|
||||
},
|
||||
{
|
||||
"name": "zlib",
|
||||
"platform": "windows"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user