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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Install python3-venv
|
||||||
id: install
|
id: install
|
||||||
run: |
|
run: |
|
||||||
add-apt-repository ppa:deadsnakes/ppa
|
add-apt-repository ppa:deadsnakes/ppa
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install python3.11 python3.11-venv python3.11-pip -y
|
apt-get install python3.11 python3.11-venv python3.11-pip -y
|
||||||
|
if: steps.prereq.outcome == 'success'
|
||||||
|
|
||||||
- name: Check Python version
|
- name: Check Python version
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue