From 3b46ef99a7879a0c77b0907b8b45d0477a74a323 Mon Sep 17 00:00:00 2001 From: lopestorm Date: Sat, 7 Oct 2023 19:35:07 -0300 Subject: [PATCH] Update Recovery Build.yml - Update to python3 Since something update so Action-TWRP-Builder stopping in the `Prepare the environment` phase. Example: https://github.com/lopestom/Action-Recovery-Builder-CT/actions/runs/6437158675/job/17481827409#step:5:388 - Update to ubuntu-latest Since something update so Action-TWRP-Builder stopping in the `Prepare the environment` phase. Updating python3 failed to solve the issue alone. Therefore, it is necessary to update the Ubuntu version as well. This resolves future Operating System updates. The commit alread tested and passing to building img file normally. Tested to pass: https://github.com/lopestom/Action-Recovery-Builder-CT/actions/runs/6443479246/job/17495478515 https://github.com/lopestom/Action-Recovery-Builder-CT/actions/runs/6443479246/job/17495478515#step:5:1741 --- .github/workflows/Recovery Build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Recovery Build.yml b/.github/workflows/Recovery Build.yml index 19b79b26f..7630cf6ec 100644 --- a/.github/workflows/Recovery Build.yml +++ b/.github/workflows/Recovery Build.yml @@ -45,7 +45,7 @@ on: jobs: build: if: github.event.repository.owner.id == github.event.sender.id - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest permissions: contents: write steps: @@ -74,7 +74,7 @@ jobs: run: | sudo apt update sudo apt -y upgrade - sudo apt -y install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-gtk3-dev libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses5 python + sudo apt -y install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-gtk3-dev libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses5 python3 - name: Install OpenJDK uses: actions/setup-java@v3