Mahin Ahmed 4 anos atrás
pai
commit
50f70ec415
1 arquivos alterados com 15 adições e 15 exclusões
  1. 15 15
      .github/workflows/Make_Common.yml

+ 15 - 15
.github/workflows/Make_Common.yml

@@ -1,30 +1,30 @@
-name: Make Recovery With Common Tree
+name: Android-Recovery-Builder
 
 on:
   workflow_dispatch:
     inputs:
-      LIBRARY_NAME:
-        description: 'LIBRARY_NAME'
+      MANIFEST_TYPE:
+        description: 'MANIFEST_TYPE'
         required: true
         default: 'omni'
-      LIBRARY_URL:
-        description: 'LIBRARY_URL'
+      MANIFEST_URL:
+        description: 'MANIFEST_URL'
         required: true
         default: 'https://github.com/SHRP/platform_manifest_twrp_omni.git'
-      LIBRARY_BRANCH:
-        description: 'LIBRARY_BRANCH'
+      MANIFEST_BRANCH:
+        description: 'MANIFEST_BRANCH'
         required: true
         default: 'v3_10.0'
-      DEVICE_URL:
-        description: 'DEVICE_URL'
+      DEVICE_TREE_URL:
+        description: 'DEVICE_TREE_URL'
         required: true
         default: 'https://github.com/SGCMarkus/android_device_lge_flashlmdd-twrp'
       DEVICE_COMMON_URL:
         description: 'DEVICE_COMMON_URL'
         required: true
         default: 'https://github.com/SGCMarkus/android_device_lge_sm8150-common-twrp'
-      DEVICE_BRANCH:
-        description: 'DEVICE_BRANCH'
+      DEVICE_TREE_BRANCH:
+        description: 'DEVICE_TREE_BRANCH'
         required: true
         default: 'android-10'
       DEVICE_PATH:
@@ -80,7 +80,7 @@ jobs:
         echo "::set-output name=pwd::$(pwd)"
         git config --global user.name "Hikaru's Action-Build-Bot"
         git config --global user.email "Android@teio.tk"
-        repo init --depth=1 -u ${{ github.event.inputs.LIBRARY_URL }} -b ${{ github.event.inputs.LIBRARY_BRANCH }}
+        repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
       id: pwd
           
     - name: Repo Sync
@@ -93,8 +93,8 @@ jobs:
       run: |
         PATH=~/bin:$PATH
         cd ${{ steps.pwd.outputs.pwd }}
-        git clone ${{ github.event.inputs.DEVICE_URL }} -b ${{ github.event.inputs.DEVICE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
-        git clone ${{ github.event.inputs.DEVICE_COMMON_URL }} -b ${{ github.event.inputs.DEVICE_BRANCH }} ./${{ github.event.inputs.DEVICE_COMMON_PATH }}
+        git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
+        git clone ${{ github.event.inputs.DEVICE_COMMON_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_COMMON_PATH }}
 
     - name: Building
       run: |
@@ -102,7 +102,7 @@ jobs:
         cd ${{ steps.pwd.outputs.pwd }}
         export ALLOW_MISSING_DEPENDENCIES=true
         source build/envsetup.sh
-        lunch ${{ github.event.inputs.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-eng 
+        lunch ${{ github.event.inputs.MANIFEST_TYPE }}_${{ github.event.inputs.DEVICE_NAME }}-eng 
         make clean
         make recoveryimage -j$(nproc --all)