Selaa lähdekoodia

增加 Device Type (eng/user/userdebug)

增加 Device Type (eng/user/userdebug)
Aizawa Hikaru 4 vuotta sitten
vanhempi
sitoutus
1f65871097
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      .github/workflows/Make.yml

+ 5 - 1
.github/workflows/Make.yml

@@ -31,6 +31,10 @@ on:
         description: 'DEVICE_NAME'
         required: true
         default: 'msmnile'
+      DEVICE_TYPE:
+        description: 'DEVICE_TYPE'
+        required: true
+        default: 'eng'
 
 jobs:
   build:
@@ -93,7 +97,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.LIBRARY_NAME }}_${{ github.event.inputs.DEVICE_NAME }}-${{ github.event.inputs.DEVICE_TYPE }}
         make clean
         make recoveryimage -j$(nproc --all)