1- name : Make Recovery With Common Tree
1+ name : Android- Recovery-Builder
22
33on :
44 workflow_dispatch :
55 inputs :
6- LIBRARY_NAME :
7- description : ' LIBRARY_NAME '
6+ MANIFEST_TYPE :
7+ description : ' MANIFEST_TYPE '
88 required : true
99 default : ' omni'
10- LIBRARY_URL :
11- description : ' LIBRARY_URL '
10+ MANIFEST_URL :
11+ description : ' MANIFEST_URL '
1212 required : true
1313 default : ' https://github.com/SHRP/platform_manifest_twrp_omni.git'
14- LIBRARY_BRANCH :
15- description : ' LIBRARY_BRANCH '
14+ MANIFEST_BRANCH :
15+ description : ' MANIFEST_BRANCH '
1616 required : true
1717 default : ' v3_10.0'
18- DEVICE_URL :
19- description : ' DEVICE_URL '
18+ DEVICE_TREE_URL :
19+ description : ' DEVICE_TREE_URL '
2020 required : true
2121 default : ' https://github.com/SGCMarkus/android_device_lge_flashlmdd-twrp'
2222 DEVICE_COMMON_URL :
2323 description : ' DEVICE_COMMON_URL'
2424 required : true
2525 default : ' https://github.com/SGCMarkus/android_device_lge_sm8150-common-twrp'
26- DEVICE_BRANCH :
27- description : ' DEVICE_BRANCH '
26+ DEVICE_TREE_BRANCH :
27+ description : ' DEVICE_TREE_BRANCH '
2828 required : true
2929 default : ' android-10'
3030 DEVICE_PATH :
8080 echo "::set-output name=pwd::$(pwd)"
8181 git config --global user.name "Hikaru's Action-Build-Bot"
8282 git config --global user.email "Android@teio.tk"
83- repo init --depth=1 -u ${{ github.event.inputs.LIBRARY_URL }} -b ${{ github.event.inputs.LIBRARY_BRANCH }}
83+ repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
8484 id : pwd
8585
8686 - name : Repo Sync
@@ -93,16 +93,16 @@ jobs:
9393 run : |
9494 PATH=~/bin:$PATH
9595 cd ${{ steps.pwd.outputs.pwd }}
96- git clone ${{ github.event.inputs.DEVICE_URL }} -b ${{ github.event.inputs.DEVICE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
97- git clone ${{ github.event.inputs.DEVICE_COMMON_URL }} -b ${{ github.event.inputs.DEVICE_BRANCH }} ./${{ github.event.inputs.DEVICE_COMMON_PATH }}
96+ git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
97+ git clone ${{ github.event.inputs.DEVICE_COMMON_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_COMMON_PATH }}
9898
9999 - name : Building
100100 run : |
101101 PATH=~/bin:$PATH
102102 cd ${{ steps.pwd.outputs.pwd }}
103103 export ALLOW_MISSING_DEPENDENCIES=true
104104 source build/envsetup.sh
105- lunch ${{ github.event.inputs.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-eng
105+ lunch ${{ github.event.inputs.MANIFEST_TYPE }}_${{ github.event.inputs.DEVICE_NAME }}-eng
106106 make clean
107107 make recoveryimage -j$(nproc --all)
108108
0 commit comments