From 36652905f9109c2ebf7287a199e9662dfe31a652 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Wed, 9 Oct 2024 13:33:13 +0200 Subject: [PATCH] chore: use python virtual environment before running pip --- .github/actions/setup-env/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index b27d0df44..ad8dfd48d 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -32,7 +32,9 @@ runs: run: | sudo apt-get update sudo apt-get -y install python3-pip python3-dev - pip install awscli --upgrade --user + python -m venv venv + source venv/bin/activate + pip install awscli --upgrade - name: Project dependencies setup, node version ${{ inputs.node-version }} shell: bash run: yarn install --frozen-lockfile