瀏覽代碼

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
lopestorm 2 年之前
父節點
當前提交
3b46ef99a7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/Recovery Build.yml

+ 2 - 2
.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