Преглед на файлове

Add 'kpm' input to action.yml for conditional execution

Added input parameter 'kpm' to the action configuration to enable conditional steps based on its value.
jimsterino98 преди 1 седмица
родител
ревизия
0ce0ab26f1
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      .github/actions/configs/action.yml

+ 6 - 0
.github/actions/configs/action.yml

@@ -1,5 +1,10 @@
 name: add configs
 description: add configs and disabling securities
+inputs:
+ kpm:
+  description: 'kpm'
+  required: true
+  
 
 runs:
  using: composite
@@ -12,6 +17,7 @@ runs:
      "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_TMPFS_POSIX_ACL
      
   - name: enable KPM support
+    if: inputs.kpm == 'true'
     shell: bash
     run: |
      "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_KALLSYMS