Skip to content

Commit

Permalink
ubuntu why?
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 21, 2024
1 parent 782a68d commit 8f3ba61
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/distro_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ jobs:
apt-get install -y software-properties-common curl
# Install necessary Perl modules for debconf
apt-get install -y libterm-readline-gnu-perl libterm-readline-perl-perl
if [ "$VERSION_ID" = "24.04" ]; then
apt-get install -y python3.11 python3.11-venv
else
add-apt-repository ppa:deadsnakes/ppa
apt-get update
apt-get install -y python3.11 python3.11-venv python3.11-distutils
fi
add-apt-repository ppa:deadsnakes/ppa
apt-get update
apt-get install -y python3.11 python3.11-venv python3.11-distutils
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
update-alternatives --set python3 /usr/bin/python3.11
Expand Down

0 comments on commit 8f3ba61

Please sign in to comment.