Try serializing steps for installing py3-venv -> creating venv

This commit is contained in:
Elijah 2024-01-12 10:00:13 +01:00
parent 54c4643739
commit e78ceb6910
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ jobs:
python3 -c "print('Python is installed')"
- name: Install python3-venv
id: install
run: |
apt-get update && apt-get install python3-virtualenv -y
@ -27,6 +28,8 @@ jobs:
run: |
python3 -m venv venv
source venv/bin/activate
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
if: steps.install.outcome == 'success'
- name: Install dependencies
run: |