Эх сурвалжийг харах

Update build-kernel-a14-5.15.yml

James McConnell 1 жил өмнө
parent
commit
1414d321ae

+ 5 - 1
.github/workflows/build-kernel-a14-5.15.yml

@@ -2,6 +2,10 @@ name: Build Android 14 5.15 GKI Kernels
 
 on:
   workflow_call:  # This allows this workflow to be called from another workflow
+    inputs:
+      lto_type:
+        required: true
+        type: string
   
 jobs:
   build-kernel-a14-5-15-kernelsu-susfs:
@@ -253,7 +257,7 @@ jobs:
           
           echo "Building the kernel..."
           rm -rf ./common/android/abi_gki_protected_exports_*
-          tools/bazel build --config=fast --lto=thin //common:kernel_aarch64_dist
+          tools/bazel build --config=fast --lto=${{ inputs.lto_type }} //common:kernel_aarch64_dist
 
       - name: Create Bootimgs Folder and Copy Images
         run: |