Installed software-properties-common to be able to use add-apt-repository
This commit is contained in:
parent
3f00ea2fa9
commit
72d37bc093
|
@ -20,12 +20,19 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install pre-requisite packages
|
||||
id: prereq
|
||||
run: |
|
||||
apt-get install software-properties-common
|
||||
apt-get update
|
||||
|
||||
- name: Install python3-venv
|
||||
id: install
|
||||
run: |
|
||||
add-apt-repository ppa:deadsnakes/ppa
|
||||
apt-get update
|
||||
apt-get install python3.11 python3.11-venv python3.11-pip -y
|
||||
if: steps.prereq.outcome == 'success'
|
||||
|
||||
- name: Check Python version
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue