From eec1181ff021d92de0630bb1226d4dc9dfd81851 Mon Sep 17 00:00:00 2001 From: Carlo Dandan Date: Tue, 10 Sep 2024 13:18:29 +0000 Subject: [PATCH] builder: Switched to ubuntu-latest Signed-off-by: Carlo Dandan --- .github/workflows/Recovery-Builder-PBRP.yml | 6 ++---- .github/workflows/Recovery-Builder-TWRP.yml | 8 +++----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Recovery-Builder-PBRP.yml b/.github/workflows/Recovery-Builder-PBRP.yml index 6e4fb76..d8adacb 100644 --- a/.github/workflows/Recovery-Builder-PBRP.yml +++ b/.github/workflows/Recovery-Builder-PBRP.yml @@ -45,7 +45,7 @@ on: jobs: build: name: Build PBRP by ${{ github.actor }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.event.repository.owner.id == github.event.sender.id env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -77,9 +77,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 libtinfo5 libgflags-dev - sudo add-apt-repository universe - sudo apt -y install libncurses5 + 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@v4 diff --git a/.github/workflows/Recovery-Builder-TWRP.yml b/.github/workflows/Recovery-Builder-TWRP.yml index 63d2ae0..3f86ec3 100644 --- a/.github/workflows/Recovery-Builder-TWRP.yml +++ b/.github/workflows/Recovery-Builder-TWRP.yml @@ -11,7 +11,6 @@ on: options: - twrp-12.1 - twrp-11 - - twrp-9.0 DEVICE_TREE: description: 'Custom Recovery Tree' # Your already made Device Tree for TWRP required: true @@ -45,7 +44,7 @@ on: jobs: build: name: Build TWRP by ${{ github.actor }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.event.repository.owner.id == github.event.sender.id env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -73,13 +72,12 @@ jobs: with: swap-size-gb: 24 + - name: Prepare the environment 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 libtinfo5 libgflags-dev - sudo add-apt-repository universe - sudo apt -y install libncurses5 + 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@v4