From 30f8f5682497c09becce6c2e3125041622c148db Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 2 Dec 2023 15:41:52 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20activate=20venv=20permanently=20?= =?UTF-8?q?in=20preview.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 7ae31a702..c443b673a 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -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