瀏覽代碼

Add action to download Samsung kernels

jimsterino98 4 月之前
父節點
當前提交
588455e774
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      .github/actions/clone-kernel/action.yml

+ 15 - 0
.github/actions/clone-kernel/action.yml

@@ -0,0 +1,15 @@
+name: 'Download Samsung Kernels'
+description: "initialize and download the samsung kernel"
+
+inputs:
+  branch:
+    description: 'Device Kernel branch'
+    required: true
+
+runs:
+ using: composite
+ steps:
+   - name: Clone Kernel Source
+     shell: bash
+     run: |
+      git clone --depth 1 -b ${{ inputs.branch }} --single-branch https://github.com/WildKernels/Samsung_Kernels.git $CONFIG