Kaynağa Gözat

ci(workflows): add condition for module symbol fix patch

Skip applying the module symbol fix patch for kernel versions 6.1 and 6.6 as it's not needed for these versions.
TheWildJames 1 yıl önce
ebeveyn
işleme
00698c653e
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      .github/workflows/build.yml

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

@@ -203,6 +203,7 @@ jobs:
           patch -p1 --forward -F 3 < 69_hide_stuff.patch
 
       - name: Apply Module Symbol Version Fix Patch
+        if: ${{ inputs.kernel_version != '6.1' && inputs.kernel_version != '6.6' }}
         run: |
           cd "$CONFIG/common"
           curl -s -o module_symbol_fix.patch "https://github.com/Anything-at-25-00/android_kernel_common_android12-5.10/commit/2476d262b597fe8af82cfb7aaf96676f51c6b4ed.patch"