From c24b12c1a6f9dd824309ecd3e531ef29ae8065e0 Mon Sep 17 00:00:00 2001 From: Wk098w Date: Fri, 21 Jun 2024 10:35:02 +0900 Subject: [PATCH] Update recovery.ymlh --- .github/workflows/recovery.yml | 67 ---------------------------------- 1 file changed, 67 deletions(-) diff --git a/.github/workflows/recovery.yml b/.github/workflows/recovery.yml index ea1043a6..8b137891 100644 --- a/.github/workflows/recovery.yml +++ b/.github/workflows/recovery.yml @@ -1,68 +1 @@ -name: Building recovery -on: -# release: -# types: [published] -# push: -# branches: -# - master -# paths: -# - '.config' -# schedule: -# - cron: 0 8 * * 5 - workflow_dispatch: - -env: - MANIFEST: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni -b twrp-10.0-deprecated - DEVICE: KD7 - DT_LINK: https://github.com/mastersenpai0405/recovery_device_tecno_KD7 - DT_PATH: device/tecno/KD7 - TARGET: recoveryimage - TZ: Asia/manila - -jobs: - build: - runs-on: ubuntu-18.04 - - steps: - - name: Checkout - uses: actions/checkout@master - - - - name: Initializing environment - run: | - sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d - docker rmi `docker images -q` - sudo apt-get remove account-plugin-facebook account-plugin-flickr account-plugin-jabber account-plugin-salut account-plugin-twitter account-plugin-windows-live account-plugin-yahoo aisleriot brltty duplicity empathy empathy-common example-content gnome-accessibility-themes gnome-contacts gnome-mahjongg gnome-mines gnome-orca gnome-screensaver gnome-sudoku gnome-video-effects gnomine landscape-common libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-ogltrans libreoffice-pdfimport libreoffice-style-galaxy libreoffice-style-human libreoffice-writer libsane libsane-common mcp-account-manager-uoa python3-uno rhythmbox rhythmbox-plugins rhythmbox-plugin-zeitgeist sane-utils shotwell shotwell-common telepathy-gabble telepathy-haze telepathy-idle telepathy-indicator telepathy-logger telepathy-mission-control-5 telepathy-salut totem totem-common totem-plugins printer-driver-brlaser printer-driver-foo2zjs printer-driver-foo2zjs-common printer-driver-m2300w printer-driver-ptouch printer-driver-splix - git config --global user.name "mastersenpai05" - git config --global user.email "pampangavergil0405@gmail.com" - sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php* - sudo -E apt-get clean - sudo -E apt-get -qq update - sudo -E apt-get -qq install bc build-essential zip curl libstdc++6 git wget python gcc clang libssl-dev repo rsync flex curl bison aria2 - sudo curl --create-dirs -L -o /usr/local/bin/repo -O -L https://storage.googleapis.com/git-repo-downloads/repo - sudo chmod a+rx /usr/local/bin/repo - - - name: Sync recovery source and device tree - run: | - mkdir work - cd work - repo init -u $MANIFEST --depth=1 - repo sync -c -j4 --force-sync --no-clone-bundle --no-tags - repo sync -c -j4 --force-sync --no-clone-bundle --no-tags - git clone --depth=1 $DT_LINK $DT_PATH - - - name: Build - run: | - cd work - . build/envsetup.sh &&lunch omni_$DEVICE-eng &&export ALLOW_MISSING_DEPENDENCIES=true && mka $TARGET - - - name: Release recovery image - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: TWRP_10.0 - name: TWRP-KD7 - files: | - work/out/target/product/KD7/recovery.img