瀏覽代碼

Add kernel checking to ak3zip-prep action

Add kernel checking step to the action script.
jimsterino98 2 月之前
父節點
當前提交
ef37b4ee96
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .github/actions/ak3zip-prep/action.yml

+ 7 - 0
.github/actions/ak3zip-prep/action.yml

@@ -8,6 +8,13 @@ inputs:
 runs:
  using: composite
  steps:
+  - name: add kernel checking to script
+    shell: bash
+    run: |
+     cd "$ANYKERNEL3"
+
+     sed -i 's/do.check_boot_version=.*/do.check_boot_version=1/' anykernel.sh
+     
   - name: copy image to ak3 folder depending on branch
     shell: bash
     run: |