mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:37:53 -04:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user