From 257946b1cd97370a3f646b7d3356b8310ccf38a7 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Fri, 10 Jan 2025 20:03:18 +0900 Subject: [PATCH] [ci] Fix python2.7 installation error ubuntu-latest(24.04) no longer supports installing python 2.7 packages. tizen-packagemanager still requires python2.7, so we add the python repository for this. deadsnakes is an unofficial repository, but it is already being used by many users. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 193d3f1e6..1e229ce2f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,8 @@ jobs: - name: Install Tizen Studio if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }} run: | + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt update sudo apt install -y libncurses5 python2.7 libpython2.7 gettext \ libkf5itemmodels5 libkf5kiowidgets5 libkchart2 curl https://download.tizen.org/sdk/Installer/tizen-studio_5.6/web-cli_Tizen_Studio_5.6_ubuntu-64.bin -o install.bin