Fix venv for all subsequent actions
parent
c3503064c8
commit
387349839b
|
@ -112,6 +112,7 @@ jobs:
|
||||||
|
|
||||||
python$PYTHON_VERSION -m venv venv
|
python$PYTHON_VERSION -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
echo "PATH=$(pwd)/venv/bin:$PATH" >> $GITHUB_ENV
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
||||||
- name: Setup msbuild (Windows)
|
- name: Setup msbuild (Windows)
|
||||||
|
@ -174,11 +175,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install Python Dependencies
|
- name: Install Python Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: python$PYTHON_VERSION -m pip install -r python/dev_requirements.txt
|
||||||
if [ "${{ runner.os }}" == "macOS" ]; then
|
|
||||||
source venv/bin/activate
|
|
||||||
fi
|
|
||||||
python$PYTHON_VERSION -m pip install -r python/dev_requirements.txt
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue