Skip to content

Commit

Permalink
Try fix roomservice
Browse files Browse the repository at this point in the history
  • Loading branch information
xunmod committed Aug 10, 2024
1 parent af3509b commit e83d6bf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/by511.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
sudo chmod +x /usr/bin/repo
# sudo apt remove -yq openjdk*
sudo apt update
sudo apt install -yq bc bison build-essential curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python bash ccache
sudo apt install -yq bc bison build-essential curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python bash ccache python3
git config --global user.email "[email protected]"
git config --global user.name "xunmod@bot"
sudo su -c 'echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list' root
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853
sudo apt update
sudo apt install libc6 libc6-dev -y
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
Expand All @@ -35,7 +35,7 @@ jobs:
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-5.1
repo sync -c -f --no-tags --no-clone-bundle -j$(nproc --all)
- name: Setup device
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: 'twrp/device/Xiaoxun'
- name: Build
Expand All @@ -50,20 +50,21 @@ jobs:
export twrp_version=$(cat bootable/recovery/variables.h | grep "define TW_MAIN_VERSION_STR" | cut -d '"' -f2)
cp out/target/product/sl8521e_1h10ll_sw761/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw761.img
lunch omni_sl8521e_1h10ll_sw763-eng
ls system/core/libasyncio || exit 1
mka -j$(nproc --all) recoveryimage
cp out/target/product/sl8521e_1h10ll_sw763/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw763.img
lunch omni_sl8521e_1h10ll_sw771-eng
mka -j$(nproc --all) recoveryimage
cp out/target/product/sl8521e_1h10ll_sw771/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw771.img
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: TWRP Image for MiKids4
path: 'twrp-*_sw761.img'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: TWRP Image for MiKids4x
path: 'twrp-*_sw763.img'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: TWRP Image for MiKids6x
path: 'twrp-*_sw771.img'

0 comments on commit e83d6bf

Please sign in to comment.