Pārlūkot izejas kodu

fix(action): add grep step for vm_flags_clear before kernel build

Co-authored-by: Copilot <copilot@github.com>
TheWildJames 4 mēneši atpakaļ
vecāks
revīzija
7e38058d18
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      .github/workflows/build.yml

+ 4 - 4
.github/workflows/build.yml

@@ -190,15 +190,15 @@ jobs:
         if-no-files-found: ignore
         if-no-files-found: ignore
         compression-level: 9
         compression-level: 9
 
 
+    - name: Grep for vm_flags_clear before build
+      run: |
+        grep -n 'vm_flags_clear' ${{ github.workspace }}/kernel/common/mm/mmap.c || echo 'Not found'
+
     - name: Build Kernel
     - name: Build Kernel
       env:
       env:
         SOURCE_DATE_EPOCH: ${{ env.SOURCE_DATE_EPOCH }}
         SOURCE_DATE_EPOCH: ${{ env.SOURCE_DATE_EPOCH }}
         KBUILD_BUILD_TIMESTAMP: ${{ env.KBUILD_BUILD_TIMESTAMP }}
         KBUILD_BUILD_TIMESTAMP: ${{ env.KBUILD_BUILD_TIMESTAMP }}
       uses: ./.github/actions/build-kernel
       uses: ./.github/actions/build-kernel
-      pre:
-        - name: Grep for vm_flags_clear before build
-          run: |
-            grep -n 'vm_flags_clear' ${{ github.workspace }}/kernel/common/mm/mmap.c || echo 'Not found'
 
 
     - name: Create Bootimgs Folder and Build Boot Images
     - name: Create Bootimgs Folder and Build Boot Images
       uses: ./.github/actions/build-boot-images
       uses: ./.github/actions/build-boot-images