CI: also use a venv for the Windows build job
To be more isolated from the host system
This commit is contained in:
parent
a2ebb72da0
commit
47cc05c39f
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -147,7 +147,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --user -r requirements.txt
|
python -m venv .venv
|
||||||
|
.\.venv\Scripts\activate
|
||||||
|
python -m pip install -r requirements.txt
|
||||||
|
echo "$env:VIRTUAL_ENV\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
|
||||||
- name: autobuild cache
|
- name: autobuild cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user