Переглянути джерело

fix(action): update conditional syntax for android15 + kernel 6.6 include check

TheWildJames 4 місяців тому
батько
коміт
40e3d19427
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      .github/actions/kernel-fixes/action.yml

+ 1 - 1
.github/actions/kernel-fixes/action.yml

@@ -42,7 +42,7 @@ runs:
         
 
         echo "[INFO] Checking for android15 + kernel 6.6 include fix..."
-        if [ "${{ inputs.android_version }}" = "android15" && "${{ inputs.kernel_version }}" = "6.6" ]; then
+        if [[ "${{ inputs.android_version }}" = "android15" && "${{ inputs.kernel_version }}" = "6.6" ]]; then
           echo "[MATCH] android15 + 6.6, checking for fs.h include."
           cd "$GITHUB_WORKSPACE/kernel/common"
           if ! grep -qxF '#include <trace/hooks/fs.h>' ./fs/namespace.c; then