💚 activate venv permanently in preview.yaml

This commit is contained in:
Nate Sesti 2023-12-02 15:41:52 -08:00
parent 190cf1e14c
commit 30f8f56824

View file

@ -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