Skip to content

Commit

Permalink
Update TeamWin-TWRP.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeathgamerB authored Feb 23, 2024
1 parent 5ae4b35 commit a8c37f1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/TeamWin-TWRP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
MANIFEST_BRANCH:
description: 'TWRP Manifest Branch'
required: true
default: ''
default: 'twrp-12.1'
type: choice
options:
- twrp-12.1
Expand All @@ -22,23 +22,23 @@ on:
DEVICE_TREE:
description: 'Custom Recovery Tree' # Your already made Device Tree for TWRP
required: true
default: 'https://github.com/lazycodebuilder/recovery_rmx1851'
default: 'https://github.com/DeathgamerB/twrp_device_google_husky'
DEVICE_TREE_BRANCH:
description: 'Custom Recovery Tree Branch' # Your Device Tree Branch, make sure it's right.
required: true
default: 'android-14'
default: 'main'
DEVICE_PATH:
description: 'Specify your Device Path' # As is, just like your DEVICE_PATH in your BoardConfig.mk
required: true
default: 'device/realme/RMX1851'
default: 'device/google/husky'
DEVICE_NAME:
description: 'Specify your Device Codename' # As is, just like your PRODUCT_DEVICE in your device tree.
required: true
default: 'RMX1851'
default: 'husky'
BUILD_TARGET:
description: 'Specify your Build Target' # Pick among boot, recovery and vendor_boot
required: true
default: 'recovery'
default: 'vendorboot'
type: choice
options:
- boot
Expand Down Expand Up @@ -140,6 +140,7 @@ jobs:
run: |
cd android-recovery
git clone ${{ github.event.inputs.DEVICE_TREE }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
git clone https://github.com/TheMuppets/proprietary_vendor_google_husky.git ./vendor/google/husky -b lineage-21
cd ${{ github.event.inputs.DEVICE_PATH }}
echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV
Expand Down

0 comments on commit a8c37f1

Please sign in to comment.