Преглед изворни кода

ci(workflows): expand glibc compatibility fix condition and remove summary output

The condition for applying the glibc 2.38 compatibility fix is expanded to include kernel version 5.15. Also removed the redundant patch rejects summary output to clean up the workflow logs.
TheWildJames пре 11 месеци
родитељ
комит
6953061dda
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      .github/workflows/build.yml

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

@@ -154,7 +154,7 @@ jobs:
           fi
 
       - name: Apply glibc 2.38 Compatibility Fix
-        if: inputs.android_version == 'android14' && inputs.kernel_version == '6.1'
+        if: inputs.android_version == 'android14' && (inputs.kernel_version == '5.15' || inputs.kernel_version == '6.1')
         run: |
           if [ ! -e build/build.sh ]; then 
             GLIBC_VERSION=$(ldd --version 2>/dev/null | head -n 1 | awk '{print $NF}') 
@@ -263,10 +263,6 @@ jobs:
               fi
               echo "$REL" >> "$REJECTS_DIR/index.txt"
             done
-            {
-              echo "Patch rejects collected:"
-              cat "$REJECTS_DIR/index.txt"
-            } >> "$GITHUB_STEP_SUMMARY" || true
           fi
 
       - name: Add BBG