From 91ca97fb5f10dcd23b496ba3f06f90121ff17cec Mon Sep 17 00:00:00 2001 From: SEBAS204 <36385457+ZEBAS204@users.noreply.github.com> Date: Sun, 15 Dec 2024 22:20:11 -0300 Subject: [PATCH] Fix venv commands --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71a8599..9bfc3d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,11 +36,11 @@ jobs: shell: bash # Use virtual environment - - name: Install Dependencies + - name: Use Virtual Environment run: | - python -m venv venv - source venv/bin/activate - shell: bash -c + ${{ matrix.os == 'windows-latest' && '.\\venv\\Scripts\\activate' || 'source venv/bin/activate' }} + pip install --upgrade pip + shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }} # Install dependencies - name: Install Dependencies