Update TeamWin-TWRP.yml

This commit is contained in:
TopG 2025-02-07 22:04:06 +05:30 committed by GitHub
parent 5f41a89976
commit 9e5983a514
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,11 +21,11 @@ on:
- twrp-5.1 - twrp-5.1
- twrp-4.4-deprecated - twrp-4.4-deprecated
DEVICE_TREE: DEVICE_TREE:
description: 'Custom Recovery Tree' # Your already made Device Tree for TWRP description: 'Custom Recovery Tree'
required: true required: true
default: 'https://github.com/username/repo' default: 'https://github.com/username/repo'
DEVICE_TREE_BRANCH: DEVICE_TREE_BRANCH:
description: 'Custom Recovery Tree Branch' # Your Device Tree Branch, make sure it's right. description: 'Custom Recovery Tree Branch'
required: true required: true
default: 'enter_your_branch' default: 'enter_your_branch'
DEVICE_PATH: DEVICE_PATH:
@ -41,7 +41,7 @@ on:
required: true required: true
default: 'omni_' default: 'omni_'
BUILD_TARGET: BUILD_TARGET:
description: 'Specify your Build Target' # Pick among boot, recovery and vendor_boot description: 'Specify your Build Target'
required: true required: true
default: 'recovery' default: 'recovery'
type: choice type: choice
@ -55,7 +55,7 @@ on:
default: 'false' default: 'false'
type: boolean type: boolean
LDCHECKPATH: LDCHECKPATH:
description: 'Path of blobs to check' # Use it know what kind of dependencies your missing for decryption blobs. description: 'Path of blobs to check'
required: true required: true
default: 'system/bin/qseecomd' default: 'system/bin/qseecomd'
@ -141,13 +141,13 @@ jobs:
lunch ${{ inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ inputs.BUILD_TARGET }}image -j$(nproc --all) lunch ${{ inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ inputs.BUILD_TARGET }}image -j$(nproc --all)
echo "Done building your ${{ inputs.BUILD_TARGET }}.img" echo "Done building your ${{ inputs.BUILD_TARGET }}.img"
- name: Set Build Date # Output will be use in Release - name: Set Build Date
run: | run: |
echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV
- name: Upload to Release - name: Upload to Release
if: success() if: success()
uses: softprops/action-gh-release@master uses: softprops/action-gh-release@v1
with: with:
files: | files: |
android-recovery/out/target/product/${{ inputs.DEVICE_NAME }}/${{ inputs.BUILD_TARGET }}.img android-recovery/out/target/product/${{ inputs.DEVICE_NAME }}/${{ inputs.BUILD_TARGET }}.img
@ -172,3 +172,4 @@ jobs:
python3 ldcheck -p system/lib64:vendor/lib64:system/lib:vendor/lib -d ${{ inputs.LDCHECKPATH }} python3 ldcheck -p system/lib64:vendor/lib64:system/lib:vendor/lib -d ${{ inputs.LDCHECKPATH }}
echo "Done checking missing dependencies. Review, and reconfigure your tree." echo "Done checking missing dependencies. Review, and reconfigure your tree."
continue-on-error: true continue-on-error: true