ci: fix virtual environment path for Windows workflows

- Update .venv/bin to .venv/Scripts for Windows compatibility
- Use PowerShell syntax for path assignment in _build_windows_code_build.yml
- Ensure correct GitHub PATH environment variable setup on Windows
This commit is contained in:
Junya Morioka
2025-12-16 21:47:05 +09:00
parent a33fbd2c0d
commit 1bbe3b0ca9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ jobs:
uv venv -p ${{ inputs.python-version }}
uv pip install -U pip setuptools==75.8.0 wheel packaging psutil ninja auditwheel
current_dir=$(pwd)
echo "$current_dir/.venv/bin" >> $GITHUB_PATH
echo "$current_dir/.venv/Scripts" >> $GITHUB_PATH
- uses: mjun0812/setup-cuda@v1
with:
@@ -52,8 +52,8 @@ jobs:
run: |
uv venv -p ${{ inputs.python-version }}
uv pip install -U pip setuptools==75.8.0 wheel packaging psutil numpy ninja auditwheel
current_dir=$(pwd)
echo "$current_dir/.venv/bin" >> $GITHUB_PATH
$current_dir = (Get-Location).Path
echo "$current_dir\.venv\Scripts" >> $env:GITHUB_PATH
- uses: mjun0812/setup-cuda@v1
with: