From a7a8b95afc13dc414d64f5f7513325d1bac761ea Mon Sep 17 00:00:00 2001 From: xunmod <116288337+xunmod@users.noreply.github.com> Date: Sun, 4 Feb 2024 12:30:36 +0800 Subject: [PATCH] Fix twrp .git --- .github/workflows/build.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81d88d3..ecd4602 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: mkdir .repo/local_manifests wget https://github.com/xunmod/android_device_ONDA_octopus-ibt/raw/lollipop/.github/extras.xml -O .repo/local_manifests/extras.xml repo sync -c -f --no-tags --no-clone-bundle -j16 - rm -rf .repo/project-objects + rm -rf .repo/project-objects/platform .repo/project-objects/*-* || true rm -r device/softwinner/octopus-ibt curl https://github.com/xunmod/android_device_ONDA_octopus-ibt/raw/lollipop/.github/twrp_gdb.patch | patch -p1 - - name: Build @@ -58,19 +58,19 @@ jobs: with: name: Images path: 'images.tar.gz' -# - name: Setup tmate session -# if: ${{ failure() || inputs.enable_ssh }} -# run: | -# wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz -# tar -tf tmate-2.4.0-static-linux-amd64.tar.xz -# sudo mv tmate*/tmate /usr/bin -# sudo chown +x /usr/bin/tmate -# tmate -# cat << EOF >> tmate_keeper -# while true -# do -# sleep 1800 -# done -# EOF -# chmod +x tmate_keeper -# ./tmate_keeper + - name: Setup tmate session + if: ${{ failure() || inputs.enable_ssh }} + run: | + wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz + tar -tf tmate-2.4.0-static-linux-amd64.tar.xz + sudo mv tmate*/tmate /usr/bin + sudo chown +x /usr/bin/tmate + tmate + cat << EOF >> tmate_keeper + while true + do + sleep 1800 + done + EOF + chmod +x tmate_keeper + ./tmate_keeper