Installed software-properties-common to be able to use add-apt-repository

This commit is contained in:
Elijah 2024-01-25 11:48:50 +01:00
parent 3f00ea2fa9
commit 72d37bc093
1 changed files with 7 additions and 0 deletions

View File

@ -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: |