Procházet zdrojové kódy

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 před 11 měsíci
rodič
revize
6953061dda
1 změnil soubory, kde provedl 1 přidání a 5 odebrání
  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