Try serializing steps for installing py3-venv -> creating venv
This commit is contained in:
parent
54c4643739
commit
e78ceb6910
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue