💚 activate venv permanently in preview.yaml
This commit is contained in:
parent
190cf1e14c
commit
30f8f56824
1 changed files with 6 additions and 2 deletions
8
.github/workflows/preview.yaml
vendored
8
.github/workflows/preview.yaml
vendored
|
|
@ -93,11 +93,15 @@ jobs:
|
|||
run: python -m venv venv
|
||||
|
||||
- name: Activate virtual environment (non-Windows)
|
||||
run: source venv/bin/activate
|
||||
run: |
|
||||
. .venv/bin/activate
|
||||
echo PATH=$PATH >> $GITHUB_ENV
|
||||
if: matrix.os != 'windows-latest'
|
||||
|
||||
- name: Activate virtual environment (Windows)
|
||||
run: venv\Scripts\activate.bat
|
||||
run: |
|
||||
venv\Scripts\activate.bat
|
||||
echo PATH=$PATH >> $GITHUB_ENV
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
- name: Install Pyinstaller
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue