Browse Source

ci(workflows): pass kernel version to configure action

TheWildJames 6 tháng trước cách đây
mục cha
commit
04e7c56179

+ 4 - 0
.github/actions/configure-kernel/action.yml

@@ -1,5 +1,9 @@
 name: 'Configure Kernel Options'
 name: 'Configure Kernel Options'
 description: 'Set up kernel configuration fragment with required options'
 description: 'Set up kernel configuration fragment with required options'
+inputs:
+  kernel_version:
+    description: 'Kernel version (e.g., 6.6)'
+    required: true
 
 
 runs:
 runs:
   using: "composite"
   using: "composite"

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

@@ -235,6 +235,8 @@ jobs:
 
 
     - name: Configure Kernel Options
     - name: Configure Kernel Options
       uses: ./.github/actions/configure-kernel
       uses: ./.github/actions/configure-kernel
+      with:
+        kernel_version: ${{ steps.parse.outputs.kernel_version }}
 
 
     - name: Setup Hakan
     - name: Setup Hakan
       if: ${{ inputs.variant == 'Hakan' }}
       if: ${{ inputs.variant == 'Hakan' }}